xamarin-macios/tests/monotouch-test/CoreText
Alex Soto 3fe0d2010a [CoreText] CTParagraphStyle uses the incorrect float return type. Fixes bug 54148. (#1975)
* [CoreText] Fix bug 54148 - CoreText.CTParagraphStyle does not pick up settings from CTParagraphStyleSettings

https://bugzilla.xamarin.com/show_bug.cgi?id=54148

CTParagraphStyle float properties have the incorrect float return type,
the headers state this API's returns CGFloats (aka nfloat) instead of floats
this used to work ok fetching them due to there is no difference in size
for 32 bits devices but once 64 bit devices appeared the API began to fail

The actual method that fetches the values `CTParagraphStyleGetValueForSpecifier`
asks for the size of the returned data and we used to give the size of a float
which is incorrect in 64 bits devices and the API call just correctly returned
false because it could not write back the value to us.

Added tests for the full properties available on CTParagraphStyle

* Add comment about the weird Dispose method implementation in CreateFromSettings
2017-04-10 08:24:25 +02:00
..
CTFrameTests.cs [tests] Import 2016-05-26 15:06:52 +02:00
CTLineTest.cs Revert "[tests] Adjust monotouch-test not to crash on an Apple bug. Fixes #52162 (#1699)" 2017-03-28 09:45:24 -05:00
CTParagraphStyleTests.cs [CoreText] CTParagraphStyle uses the incorrect float return type. Fixes bug 54148. (#1975) 2017-04-10 08:24:25 +02:00
FontDescriptorTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
FontManagerTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
FontTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
StringAttributes.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00