Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GPOS] PairPos >64k expansion #38

Closed
behdad opened this issue Sep 20, 2021 · 1 comment
Closed

[GPOS] PairPos >64k expansion #38

behdad opened this issue Sep 20, 2021 · 1 comment
Labels
Implemented Implemented in HarfBuzz or doesn't need to Layout >64k expansion
Projects

Comments

@behdad
Copy link
Member

behdad commented Sep 20, 2021

The Coverage table part is covered in #30.

Two new formats are added. Format 2 is replicated just to address offset-overflow issues.

struct PosFormat3 {
  uint16 format; == 3
  Offset24To<Coverage> coverage;
  uint16 valueFormat1;
  uint16 valueFormat2;
  Array16Of<Offset24To<PairSet24>> pairSets;
};

struct PairSet24 {
  uint24 pairValueCount;
  PairValueRecord24 pairValueRecords[pairValueCount];
};

struct PairValueRecord24 {
  GlyphID24 secondGlyph;
  ValueRecord valueRecord1;
  ValueRecord valueRecord2;
};
struct PosFormat4 {
  uint16 format; == 4
  Offset24To<Coverage> coverage;
  uint16 valueFormat1;
  uint16 valueFormat2;
  Offset24To<ClassDef> classDef1;  
  Offset24To<ClassDef> classDef2;
  uint16 class1Count;
  uint16 class2Count;
  Class1Record class1Records[class1Count];
};
@behdad behdad added this to To do in BE 2.0 spec Sep 22, 2021
behdad added a commit to fonttools/fonttools that referenced this issue Jul 4, 2022
behdad added a commit to fonttools/fonttools that referenced this issue Jul 4, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 7, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 7, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 7, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 7, 2022
Implements rest of harfbuzz/boring-expansion-spec#38

Subset does NOT lower format.
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 8, 2022
Implements rest of harfbuzz/boring-expansion-spec#38

Subset does NOT lower format.
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 8, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 8, 2022
Implements rest of harfbuzz/boring-expansion-spec#38

Subset does NOT lower format.
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 8, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 8, 2022
Implements rest of harfbuzz/boring-expansion-spec#38

Subset does NOT lower format.
behdad added a commit to fonttools/fonttools that referenced this issue Jul 8, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 8, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 8, 2022
Implements rest of harfbuzz/boring-expansion-spec#38

Subset does NOT lower format.
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 11, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 11, 2022
Implements rest of harfbuzz/boring-expansion-spec#38

Subset does NOT lower format.
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 12, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 12, 2022
Implements rest of harfbuzz/boring-expansion-spec#38

Subset does NOT lower format.
@behdad behdad added the Implemented Implemented in HarfBuzz or doesn't need to label Jul 12, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 12, 2022
behdad added a commit to harfbuzz/harfbuzz that referenced this issue Jul 12, 2022
Implements rest of harfbuzz/boring-expansion-spec#38

Subset does NOT lower format.
behdad added a commit to fonttools/fonttools that referenced this issue Jul 12, 2022
@behdad
Copy link
Member Author

behdad commented Mar 6, 2023

Speced: https://github.com/harfbuzz/boring-expansion-spec/blob/main/beyond-64k.md
Implemented in HarfBuzz.

@behdad behdad closed this as completed Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Implemented Implemented in HarfBuzz or doesn't need to Layout >64k expansion
Projects
No open projects
Development

No branches or pull requests

1 participant