Class | TTFunk::SubsetCollection |
In: |
lib/ttfunk/subset_collection.rb
|
Parent: | Object |
characters should be an array of UTF-16 characters. Returns an array of subset chunks, where each chunk is another array of two elements. The first element is the subset number, and the second element is the string of characters to render with that font subset. The strings will be encoded for their subset font, and so may not look (in the raw) like what was passed in, but they will render correctly with the indicated subset font.