[glyf] Comments

This commit is contained in:
Behdad Esfahbod 2023-04-21 16:45:08 -06:00
parent 2b042cc5c6
commit a960571f24
1 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ struct Glyph
{ {
switch (type) { switch (type) {
#ifndef HB_NO_VAR_COMPOSITES #ifndef HB_NO_VAR_COMPOSITES
case VAR_COMPOSITE: return; case VAR_COMPOSITE: return; // No hinting
#endif #endif
case COMPOSITE: CompositeGlyph (*header, bytes).drop_hints (); return; case COMPOSITE: CompositeGlyph (*header, bytes).drop_hints (); return;
case SIMPLE: SimpleGlyph (*header, bytes).drop_hints (); return; case SIMPLE: SimpleGlyph (*header, bytes).drop_hints (); return;
@ -83,7 +83,7 @@ struct Glyph
{ {
switch (type) { switch (type) {
#ifndef HB_NO_VAR_COMPOSITES #ifndef HB_NO_VAR_COMPOSITES
case VAR_COMPOSITE: return; case VAR_COMPOSITE: return; // No overlaps flag
#endif #endif
case COMPOSITE: CompositeGlyph (*header, bytes).set_overlaps_flag (); return; case COMPOSITE: CompositeGlyph (*header, bytes).set_overlaps_flag (); return;
case SIMPLE: SimpleGlyph (*header, bytes).set_overlaps_flag (); return; case SIMPLE: SimpleGlyph (*header, bytes).set_overlaps_flag (); return;
@ -95,7 +95,7 @@ struct Glyph
{ {
switch (type) { switch (type) {
#ifndef HB_NO_VAR_COMPOSITES #ifndef HB_NO_VAR_COMPOSITES
case VAR_COMPOSITE: return; case VAR_COMPOSITE: return; // No hinting
#endif #endif
case COMPOSITE: CompositeGlyph (*header, bytes).drop_hints_bytes (dest_start); return; case COMPOSITE: CompositeGlyph (*header, bytes).drop_hints_bytes (dest_start); return;
case SIMPLE: SimpleGlyph (*header, bytes).drop_hints_bytes (dest_start, dest_end); return; case SIMPLE: SimpleGlyph (*header, bytes).drop_hints_bytes (dest_start, dest_end); return;