You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually fonts are packaged like "Droid Sans", which contains all thin, bold, italic font styles.
However, some fonts like "Noto Sans CJK SC" will present like:
Seven font weights are listed as seven font names. If you choose "Noto Sans CJK SC Regular", the effect of fontconfig is not the same as "Noto Sans CJK SC". Some application will use wrong font weight in result.
Possible solutions:
Just cut off font weight suffix: Thin, Light, Medium, Regular, Bold, Black, etc. The disadvantage is that nobody knows if here wiil be other rare suffix like "Very Very Bold", "A Little Thin".
Use other API to get font list, instead of Java SE system class. However, availavle APIs for Java is not easy to find.
The text was updated successfully, but these errors were encountered:
Usually fonts are packaged like "Droid Sans", which contains all thin, bold, italic font styles.
However, some fonts like "Noto Sans CJK SC" will present like:
Seven font weights are listed as seven font names. If you choose "Noto Sans CJK SC Regular", the effect of fontconfig is not the same as "Noto Sans CJK SC". Some application will use wrong font weight in result.
Possible solutions:
The text was updated successfully, but these errors were encountered: