You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to skia-d...@googlegroups.com
I have to draw unicode text (japanese, korean, chinese).
My project is android / native / skia.
SkCanvas::drawText
Drawing alphabet or number is possible.
But unicode text drawing is not possible. just crash....
SKIA. Is it support unicode text?????
Ben Wagner
unread,
Feb 27, 2013, 10:37:13 AM2/27/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to skia-d...@googlegroups.com
drawText does no glyph shaping, so if a character does not have a 1:1
glyph mapping in the cmap table you will see problems (usually
characters not showing up). If you're seeing a crash, you probably
haven't set the SkPaint::TextEncoding on the paint correctly (using
SkPaint::setTextEncoding). The default encoding is utf-8, if you're on
Windows you probably have utf-16 (or something close enough).