Giter VIP home page Giter VIP logo

Comments (9)

karstenw avatar karstenw commented on August 12, 2024

Have you checked with listOpenTypeFeatures if the font contains the 'calt' feature?

A Test run with this little snippet gave exactly 0 fonts on my machine .

fonts = installedFonts()

for font in fonts:
    l = listOpenTypeFeatures( font )
    if not l:
        continue
    if 'calt' in l:
        print font, l

from drawbot.

typemytype avatar typemytype commented on August 12, 2024

There is an issue with a calt feature, this is automatically enabled by CoreText. Switching it off prevent the replacement in an attributed string with a NSGlyphInfo. Im investigating...

from drawbot.

ninastoessinger avatar ninastoessinger commented on August 12, 2024

Have you checked with listOpenTypeFeatures if the font contains the 'calt' feature?

Yes – I know it’s there, and I can see it being on. :)

from drawbot.

ninastoessinger avatar ninastoessinger commented on August 12, 2024

PS. For what it’s worth, I just realized that calt=False actually appears to work fine when the FormattedString was put together using append(), just not for glyphs appended via appendGlyph().

from drawbot.

typemytype avatar typemytype commented on August 12, 2024

This should be fixed in ff3ce72

.appendGlyph(...) should always disable the caltfeature, I guess this is the only one that is automatically on. If there are more features on by default, please report.

from drawbot.

ninastoessinger avatar ninastoessinger commented on August 12, 2024

That was fast :D Thank you very much!
Are changes here automatically carried over to the drawBotRoboFontExtension? (I’m using drawBot as a module currently)

from drawbot.

typemytype avatar typemytype commented on August 12, 2024

Not yet, diner first ;)

gr
Frederik
www.typemytype.com

On 5 nov. 2015, at 17:46, Nina Stössinger [email protected] wrote:

That was fast :D Thank you very much!
Are changes here automatically carried over to the drawBotRoboFontExtension? (I’m using drawBot as a module currently)


Reply to this email directly or view it on GitHub.

from drawbot.

ninastoessinger avatar ninastoessinger commented on August 12, 2024

Haha, eet smakelijk :)

from drawbot.

typemytype avatar typemytype commented on August 12, 2024

done,

enjoy!

from drawbot.

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.