[fea-rs] store lookup origin for feature code debugging#1933
[fea-rs] store lookup origin for feature code debugging#1933khaledhosny wants to merge 2 commits intogooglefonts:mainfrom
Conversation
@simoncozens @justvanrossum I used the same key as |
Store lookup name and location info in Debg table following the same structure as fontTools.feaLib. But unlike feaLib, we don’t store feature info, because: 1) it is redundant when debugging with HarfBuzz trace message as we get the script and feature info from there 2) it is misleading/incomplete as the lookup can be registered under different script/language/feature compos, but feaLib only reports one of them.
FontTools uses an envvar, but an option feels more robust.
Store lookup name and location info in
Debgtable following the same structure asfontTools.feaLib. But unlikefeaLib, we don’t store feature info, because:feaLibonly reports one of them.