Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

optical size choice: wrong point unit used #389

Closed
eroux opened this issue Dec 1, 2016 · 3 comments
Closed

optical size choice: wrong point unit used #389

eroux opened this issue Dec 1, 2016 · 3 comments
Labels

Comments

@eroux
Copy link
Member

eroux commented Dec 1, 2016

Following this bug report on the XeTeX tracker, it seems that the wrong point unit is used when selecting the optical size because the indications given in the font are interpreted as given in pt while they should be interpreted as given in bp (see the XeTeX bug report for more info).

For instance the example

\input luaotfload.sty
\font\rm="Arno Pro" at 13.99bp \rm
Hello, world!\bye

will choose the Subhead version while it should choose the Regular one (the "top" range for regular being 14 and the bottom range for subhead being 14 too). I didn't manage to find an example of free font with multiple optical sizes...

@eroux eroux added the bug label Dec 1, 2016
@phi-gamma
Copy link
Member

There’s a config option now that allows to choose from bp, pt, and dd
with bp being the default.

@eroux
Copy link
Member Author

eroux commented Jan 30, 2017

Thanks a lot!

@ArchangeGabriel
Copy link

Just for the record, a free font with multiple optical sizes could be https://github.com/georgd/EB-Garamond. There are 8 and 12 pt sizes available. ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants