quoteunquoteapps / CourierPrime

SIL Open Font License 1.1
141 stars 10 forks source link

Italic/slant variant is always used in Emacs, even when it shouldn't be #9

Open sten0 opened 1 year ago

sten0 commented 1 year ago

Hi,

I'm currently investigating why the Italic/slant variant is always used in Emacs, even when it shouldn't be. Thus far I've only found the following with fontforge:

The PostScript font name "Courier Prime-Regular" is
invalid.
It should be printable ASCII,
must not contain (){}[]<>%/ or space
and must be shorter than 63 characters

Could that be why the slant/italics variant is matched?

I also found this:

The glyph named Delta is mapped to U+0394.
  But its name indicates it should be mapped to U+2206.
The glyph named Omega is mapped to U+03A9.
  But its name indicates it should be mapped to U+2126.
The glyph named Tcommaaccent is mapped to U+021A.
  But its name indicates it should be mapped to U+0162.
The glyph named mu is mapped to U+03BC.
  But its name indicates it should be mapped to U+00B5.
The glyph named tcommaaccent is mapped to U+021B.
  But its name indicates it should be mapped to U+0163.

but the latter doesn't seem relevant to the italics/slant bug that I'm reporting.