-
-
Notifications
You must be signed in to change notification settings - Fork 100
Description
I don't know if this is a font version problem or a SILE problem, but tests/vertical.sil is being very inconsistent. Every system seems to have a different idea of how the metrics should go.
@simoncozens's system has produced one thing, yet my system is consistently producing another and the Travis test environment is producing a third set of values for the same test.
Comparing for example just the first line of the diff when tested on my system:
-My 117.74384
+My 117.74191
While Travis has this diff:
-My 117.74384
+My 117.73966
For reference on my system there are a whole bunch of weights for this font:
❯ fc-list | grep 'Sans CJK JP'
/usr/share/fonts/OTF/NotoSansCJKjp-Regular.otf: Noto Sans CJK JP,Noto Sans CJK JP Regular:style=Regular
/usr/share/fonts/OTF/NotoSansCJKjp-Light.otf: Noto Sans CJK JP,Noto Sans CJK JP Light:style=Light,Regular
/usr/share/fonts/OTF/NotoSansCJKjp-Thin.otf: Noto Sans CJK JP,Noto Sans CJK JP Thin:style=Thin,Regular
/usr/share/fonts/OTF/NotoSansCJKjp-Black.otf: Noto Sans CJK JP,Noto Sans CJK JP Black:style=Black,Regular
/usr/share/fonts/OTF/NotoSansCJKjp-Bold.otf: Noto Sans CJK JP,Noto Sans CJK JP Bold:style=Bold,Regular
/usr/share/fonts/OTF/NotoSansCJKjp-Medium.otf: Noto Sans CJK JP,Noto Sans CJK JP Medium:style=Medium,Regular
/usr/share/fonts/OTF/NotoSansCJKjp-DemiLight.otf: Noto Sans CJK JP,Noto Sans CJK JP DemiLight:style=DemiLight,Regular
And the default selection is actually one of the lighter weights:
❯ fc-match 'Noto Sans CJK JP'
NotoSansCJKjp-DemiLight.otf: "Noto Sans CJK JP" "DemiLight"
It's possible that the issue here is font weigt selection. I played with setting \font[weight=x] in Sile but none of the weights matched up with the metrics currently in the master branch.