DescriptionDraw text vertically if the flag in the scaler is set.
The general strategy is to get the vertical advance, and correct the glyph's left and top by the font's vertical offsets.
Add specialization to work around a Snow Leopard in CTFontGetVerticalTranslationsForGlyphs.
The font size can be retrieved more reliably from the scaler than from the CTFont -- use fTextSize instead of CTFontGetSize.
Use the CTFontGetUnitsPerEm instead of reading the font data directly.
Add a utility to flip the matrix to account for different Y axis directions.
Set the newly created CTFont to have a vertical attribute dictionary entry as appropriate
Patch Set 1 #
Total comments: 1
Patch Set 2 : add missing int-to-scalar #MessagesTotal messages: 2
|