edwardtufte / et-book

A webfont of the typeface used in Edward Tufte’s books.
https://edwardtufte.github.io/et-book
MIT License
1.15k stars 100 forks source link

OpenType #3

Open dpk opened 8 years ago

dpk commented 8 years ago

The lining figures and text figures versions of the font could be rolled into single font files containing both, using OpenType features to select between the two. (The features lnum and onum in particular.)

Likewise the small-capitals fonts (smcp and c2sc) and ‘expert set’ (mapped to the correct Unicode codepoints) included in the originals.zip file in the source directory can be merged into the main files of the typeface using the OpenType format.

Then, once the last few browsers support it, webfont users could enable these using the standard font-feature-settings CSS property.

ghost commented 8 years ago

This is true. In addition, it would be really great if automatic ligature insertion could be added, since the glyphs are already there, just not called. This could be done in FontForge quite easily. Other than that this is a great, exciting project.

I would personally prefer having an SC font kept in the build for one key use - desktop apps, which mostly can't use true small caps. Though hardly a huge problem for me because I can just use the originals zip.

dpk commented 8 years ago

Oh yeah, ligatures too. I didn’t test to see that they aren’t substituted by default.

dpk commented 8 years ago

I have begun to do this with FontForge in my personal fork at dpk/et-book.

dpk commented 8 years ago

I’ve now done this completely with one exception: I can’t work out how to get the frac feature to work to enable automatic creation of fractions from strings such as “1/2”. This involves some complicated contextual substitution tables which I don’t know how to set up.

adrientetar commented 8 years ago

http://www.opentypecookbook.com/

KrasnayaPloshchad commented 7 years ago

Recently LibreOffice made some improves to make them available on document. https://wiki.documentfoundation.org/ReleaseNotes/5.3 https://ask.libreoffice.org/en/question/82052/opentype-features-now-enabled-documentation/

gheoan commented 7 years ago

Related: https://github.com/edwardtufte/tufte-css/issues/99.

KrasnayaPloshchad commented 7 years ago

We should consider for TeX engine as XeTeX which has an entry to access typographic feature.