2017-11-05 21:52:14 -06:00
|
|
|
= attributed strings
|
|
|
|
attribute lengths are rounded to complete unicode codepoints
|
|
|
|
zero-length attributes are elided
|
|
|
|
consecutive attributes of the same type and value are merged
|
|
|
|
overlapping attributes of different types do not split each other
|
|
|
|
overlapping attributes of the same type but different values do split
|
|
|
|
empty string is allowed
|
|
|
|
empty string cannot have attributes
|
2017-11-06 22:58:12 -06:00
|
|
|
font family names are case-insensitive both in attributes and in descriptors
|
2017-12-09 22:47:50 -06:00
|
|
|
attributes are unique throughout a Unicode codepoint, not just to UTF-8 bytes
|
2017-12-10 18:22:49 -06:00
|
|
|
define what "it is an error" means in the case of uiFreeAttribute() and all uiAttributeValue() functions and constructors
|
2017-12-09 22:47:50 -06:00
|
|
|
does uiAttributeFamily() return a normalized string
|
2017-12-10 18:22:49 -06:00
|
|
|
should uiNewAttributeBackground() be renamed to uiNewAttributeBackgroundColor() and likewise for the type constant
|
|
|
|
should underline colors just ignore non-custom component arguments
|
|
|
|
should any color getter function accept a NULL pointer
|
|
|
|
what should uiAttributeUnderlineColor() do if the color type isn't Custom but the other pointers are non-NULL
|
|
|
|
should uiOpenTypeFeaturesGet() accept a NULL value pointer
|
|
|
|
what happens if uiOpenTypeFeaturesForEach() is given a NULl function pointer
|
|
|
|
should FeaturesAttribute be changed to OpenTypeFeaturesAttribute and likewise for the type enum
|
|
|
|
should uiNewFeaturesAttribute() accept NULL
|
|
|
|
should uiNewFamilyAttribute() accept NULL
|
2017-12-14 01:41:49 -06:00
|
|
|
it is an error in ForEach too
|
2018-02-18 21:02:42 -06:00
|
|
|
invalid values for uiDrawTextAlign
|
|
|
|
empty text layouts have one line
|