@@ -766,12 +766,14 @@ StatusOr<FontData> Encoder::GenerateBaseGvar(
766
766
return result;
767
767
}
768
768
769
- void Encoder::SetMixedModeSubsettingFlagsIfNeeded (hb_subset_input_t * input) const {
769
+ void Encoder::SetMixedModeSubsettingFlagsIfNeeded (
770
+ hb_subset_input_t * input) const {
770
771
if (IsMixedMode ()) {
771
772
// Mixed mode requires stable gids set flags accordingly.
772
773
hb_subset_input_set_flags (
773
774
input, hb_subset_input_get_flags (input) | HB_SUBSET_FLAGS_RETAIN_GIDS |
774
- HB_SUBSET_FLAGS_IFTB_REQUIREMENTS | // TODO(garretrieger): remove this
775
+ HB_SUBSET_FLAGS_IFTB_REQUIREMENTS | // TODO(garretrieger):
776
+ // remove this
775
777
HB_SUBSET_FLAGS_NOTDEF_OUTLINE |
776
778
HB_SUBSET_FLAGS_PASSTHROUGH_UNRECOGNIZED);
777
779
}
@@ -785,10 +787,10 @@ StatusOr<FontData> Encoder::CutSubset(hb_face_t* font,
785
787
}
786
788
787
789
if (IsMixedMode () && def.IsVariable ()) {
788
- // In mixed mode glyph keyed patches handles gvar, except for when design space
789
- // is expanded, in which case a gvar table should be patched in that only
790
- // has coverage of the base (root) subset definition + the current design
791
- // space.
790
+ // In mixed mode glyph keyed patches handles gvar, except for when design
791
+ // space is expanded, in which case a gvar table should be patched in that
792
+ // only has coverage of the base (root) subset definition + the current
793
+ // design space.
792
794
//
793
795
// Create such a gvar table here and overwrite the one that was otherwise
794
796
// generated by the normal subsetting operation. The patch generation will
0 commit comments