Code Monkey home page Code Monkey logo

Comments (4)

twardoch avatar twardoch commented on June 5, 2024

On 13-05-14 20:21, Alfred Xing wrote:

I'm trying to find a way to subset the font to make it smaller (I
don't need any Latin supplements, Greek, Cyrillic, dingbats, etc.),
but I want all of the ligatures (|liga| and |hlig| in particular).

Is there any way to do this? I've tried FontSquirrel but their
subsetting messes up the ligature lookups (so the ligatures don't work).

Alfred,

subsetting OpenType Layout features isn't trivial. At Fontlab Ltd.,
we're currently working on a new font subsetter which implements
OpenType Layout subsetting. It's not finalized yet.

Would you kindly send me the "input" and "output" fonts offline to adam
at fontlab dot com, i.e. the original font file along with the subset
you've tried to create, and I would test it with our tool, and send you
the subset(s) back.

Best,
Adam

May success attend your efforts,
-- Adam

from eb-garamond.

khaledhosny avatar khaledhosny commented on June 5, 2024

You can try ttfsubset or my (unfinished) font-subset. I had mixed success with ttfsubset, but I was able to use font-subset to subset Amiri font correctly (thanks to using FontForge), though it is a bit greedy when there are contextual substitutions.

from eb-garamond.

alfredxing avatar alfredxing commented on June 5, 2024

@khaledhosny Thanks! How would I use it? (I'm running Windows and have Python 2.6 installed)

from eb-garamond.

khaledhosny avatar khaledhosny commented on June 5, 2024

You will have to figure out how to install FontForge and its Python module on Windows, I can’t help with that, sorry.

from eb-garamond.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.