Author Topic: How to solve offset overflow  (Read 1091 times)

LexLuengas

  • Full Member
  • ***
  • Posts: 3
How to solve offset overflow
« on: 2012-11-27, 12:48:20 »
I’m working on a font with a huge amount of contextual substitutions (>14 000 substitutions). FontLab (5.1.1) refuses to compile:

Code: [Select]
GSUB feature 'ˇˇˇˇ' causes overflow of offset to a subtable (0x10008)
I already added the useExtension directive to all of the lookups. The compiler doesn’t complain only if I include less than about 3500 of the lines of code.

I examined the behavior under FontLab 5.0.4, in which I can include much more substitutions if I separate my lookups into dummy features, each feature having about 3000 lines. This works only up to two extra features.

Any hints of what I should try out next?
« Last Edit: 2012-11-27, 13:16:36 by LexLuengas »

LexLuengas

  • Full Member
  • ***
  • Posts: 3
Re: How to solve offset overflow
« Reply #1 on: 2012-12-05, 12:12:46 »
Any opentype-savvy contacts you could forward to me? I know there are many geeks out there, I just don‘t know what they are called...

Eigi

  • Beta: FontLab Studio Mac
  • Hero Member
  • ***
  • Posts: 100
    • e-font
Re: How to solve offset overflow
« Reply #2 on: 2012-12-05, 12:33:14 »
You may try 'KLTF Make Kern Feature' from Karsten Lücke:
http://www.kltf.de/kltf_otproduction.htm

LexLuengas

  • Full Member
  • ***
  • Posts: 3
Re: How to solve offset overflow
« Reply #3 on: 2012-12-05, 13:01:15 »
Quote
It automatically splits large subtables into smaller ones and activates use of extension type lookups when necessary

Does the script do more than what I could do “manually” in FontLab‘s OpenType panel? And more important: Does this also work for other features other than the kern feature? Specially the splitting of the subtables sounds very luring, but I guess it just adds a subtable; statement wherever necessary.