We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
jsPDF/src/libs/ttffont.js
Line 1269 in 5d09af9
src/libs/ttffont.js
The ttf specification says preferredFamily is at nameID 16 (nameID 15 is said to be reserved, which is undefined)
preferredFamily
nameID 16
nameID 15
undefined
https://learn.microsoft.com/ko-kr/typography/opentype/spec/name#name-ids https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html
Font Inter from google fonts at https://fonts.google.com/selection?query=Inter
Inter
Inter-Thin.ttf.zip
It has preferredFamily as 'Inter' and preferredSubfamily as 'Thin'
Thanks.
The text was updated successfully, but these errors were encountered:
I would like to work on this , Please assign me this issue under hacktoberfest 2024. Thanks.
Sorry, something went wrong.
No branches or pull requests
NameTable.preferredFamily is undefined
jsPDF/src/libs/ttffont.js
Line 1269 in 5d09af9
src/libs/ttffont.js
The ttf specification says
preferredFamily
is atnameID 16
(
nameID 15
is said to be reserved, which isundefined
)https://learn.microsoft.com/ko-kr/typography/opentype/spec/name#name-ids
https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html
Sample
Font
Inter
from google fonts at https://fonts.google.com/selection?query=InterInter-Thin.ttf.zip
It has preferredFamily as 'Inter' and preferredSubfamily as 'Thin'
Thanks.
The text was updated successfully, but these errors were encountered: