-
Notifications
You must be signed in to change notification settings - Fork 70
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
Optical kerning return 0. #198
Comments
Unfortunately it seems that this information is saved in
Inside |
const engineData = parseEngineData(data);
const engineData2 = decodeEngineData2(engineData);
const kerning = get(engineData2, 'EngineDict["Editors?"][0].Editor.StyleRun.RunArray[0].StyleSheet.StyleSheetData["Kerning?"]')
console.log(kerning, 'kerning');
// 0 - 0
// 1 - metric
// 2- optical When kerning is set to metric, it returns 1; when set to optical, it returns 2; and when set to 0, it returns 0。 |
Each element in |
Optical kerning is set for spacing, but the returned value is 0. Is it possible to return a different value to distinguish between optical kerning being set and the value being set to 0?
![image](https://private-user-images.githubusercontent.com/175404963/360252687-1700d99e-2f88-4bbb-b4f3-4cf98650faa6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzMwODUsIm5iZiI6MTczOTM3Mjc4NSwicGF0aCI6Ii8xNzU0MDQ5NjMvMzYwMjUyNjg3LTE3MDBkOTllLTJmODgtNGJiYi1iNGYzLTRjZjk4NjUwZmFhNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQxNTA2MjVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iOGQ5ZmVmMzgyNGJlNTM2ODRiMWY2OGM2ZDE0NGM4NGM5ZWY2YTg2Y2ZhMjg1YjQ5MWI0YmNjMzQ5MTMwZTI4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.vc_X_RhivdqBNbpfPfxvCSi4I61lG0jY80fSVLJGy9g)
text.zip
The text was updated successfully, but these errors were encountered: