CSSFontFamily icon indicating copy to clipboard operation
CSSFontFamily copied to clipboard

Impact font stack ends in sans serif instead of sans-serif

Open dpc00 opened this issue 1 month ago • 0 comments

Claude reports: one font stack ends in sans serif (a space), which is not a valid CSS generic family.

In CSSFontFamily.py (Package Control release 2014.05.05.15.05.25) the Impact stack is:

Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans serif

It should end sans-serif, like the other stacks. As written, the browser reads sans serif as two unknown family names, so the generic fallback never applies.

(Smaller oddity, same list: "Rockwell Extra Bold", "Rockwell Bold", monospace falls back to monospace, while the other Rockwell stack falls back to serif.)

dpc00 avatar Oct 20 '26 01:10 dpc00