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
{{ message }}
Repository navigation
sans-serif font makes list item bullet render incorrectly #17321
I came across this issue too, and will try to come up with a fix.
It appears than on Linux, when you use sans-serif, Servo will choose the ExtraLight variant of DejaVu Sans, rather than the Book variant. This happens because Servo's code doesn't set the weight of the ExtraLight variant correctly (it sets it to normal = 400). The code which then chooses a variant sees the ExtraLight one first, deems it sufficient, and so goes with that. The ExtraLight variant doesn't seem to contain the bullet character, hence why it gets rendered as a square. Perhaps there are actually two issues really:
The wrong variant gets chosen.
If the chosen variant doesn't contain a certain character, maybe we should fall back to a variant which does, in order to render that one character.
Activity
duckinator commentedon Jun 14, 2017
Possibly related to #17267 and #10045, but I'm not sure.
fc-matchoutput, since it seems potentially-relevant:duckinator commentedon Jun 15, 2017
Here's a screenshot of that snippet:
duckinator commentedon Jun 15, 2017
And yes, this is on Linux (specifically Manjaro Linux, which is based on ArchLinux).
jonleighton commentedon Feb 1, 2018
I came across this issue too, and will try to come up with a fix.
It appears than on Linux, when you use
sans-serif, Servo will choose the ExtraLight variant of DejaVu Sans, rather than the Book variant. This happens because Servo's code doesn't set the weight of the ExtraLight variant correctly (it sets it to normal = 400). The code which then chooses a variant sees the ExtraLight one first, deems it sufficient, and so goes with that. The ExtraLight variant doesn't seem to contain the bullet character, hence why it gets rendered as a square. Perhaps there are actually two issues really:jonleighton commentedon Feb 1, 2018
Related: #190
Fix FontTemplateDescriptor under FreeType
Fix FontTemplateDescriptor under FreeType
Fix FontTemplateDescriptor under FreeType
Fix FontTemplateDescriptor under FreeType
Auto merge of #19928 - jonleighton:issue-17321, r=emilio,jack
Fix FontTemplateDescriptor under FreeType
Auto merge of #19928 - jonleighton:issue-17321, r=jdm
Fix FontTemplateDescriptor under FreeType
Auto merge of #19928 - jonleighton:issue-17321, r=jdm
Auto merge of #19928 - jonleighton:issue-17321, r=jdm
duckinator commentedon Oct 25, 2019
This appears to be fixed. 👍