| 117 | } |
| 118 | |
| 119 | void CFELayoutRun(CommodettoFontEngine tf, const char *utf8, int32_t byteLength, CFERun run, int32_t runLength, int32_t width) |
| 120 | { |
| 121 | const char *utf8End = utf8 + byteLength; |
| 122 | |
| 123 | while (utf8 < utf8End) { |
| 124 | run->glyphID = (uint16_t)PocoNextFromUTF8((uint8_t **)&utf8);; |
| 125 | run->advance = 8; |
| 126 | |
| 127 | runLength -= 1; |
| 128 | if (1 == runLength) |
| 129 | break; //@@ report run array overflow |
| 130 | } |
| 131 | |
| 132 | run->glyphID = kInvalidGlyphID; |
| 133 | } |
| 134 | |
| 135 | void CFEGetOutlineFromUnicode(CommodettoFontEngine cfe, uint32_t unicode, uint8_t **outline, uint32_t *outlineSize) |
| 136 | { |
nothing calls this directly
no test coverage detected