GithubHelp home page GithubHelp logo

pomax / cff-glyphlet-fonts Goto Github PK

View Code? Open in Web Editor NEW
51.0 51.0 8.0 2.63 MB

Making tiny fonts, because making tiny fonts.

Home Page: pomax.github.com/CFF-glyphlet-fonts

CSS 1.43% JavaScript 79.70% HTML 18.87%

cff-glyphlet-fonts's People

Contributors

pomax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cff-glyphlet-fonts's Issues

improve "OffSize" detection (and use!) in the CFF code

right now the code assumes OffSize 1 on a lot of things, which may need changing when real outline paths are added in. I doubt things need to go past OffSize 2, (the whole point is tiny glyphlet fonts), but it'll be good to make sure the bytecode sets itself up correctly

AdobeBlank comment

Hi there, I saw your comment from an announcement of the original Adobe Blank font from years ago. You mentioned:

It might be possible to create a minimal full-unicode font by using format 4 and 12 CMAP entries with full-range segments, both pointing to the non-spacing, non-marking glyph. This would probably give us a legal OpenType font that’s around 1kb. I’ll see if I can play around with that over the weekend. If I can, I’ll put it on github.

Did anything ever come of that? Is that this or one of the other repos here?

How to use your JS tool to create custom ligatures

Could you explain how to use your tool to generate custom OpenType data URIs? E.g. I would like to replace the word "foo" with a custom SVG path.

I'm looking at your article and the process of generating the OpenType data URI is placed in the uglified generator.js file, so I'm having trouble figuring out how this works.

Maybe it would make sense to provide an API which would enable generating the data URI, e.g.

var dataURI = generate({
    "custom": "M 20 -20 L 20 680 700 680 700 -20 20 -20 M 170 130 L 550 130 550 530 170 530",
    "foo": "…",
    "bar": "…"
});

Wrong table offsets for sample woff

Hi,

thank for your great A bit of font generation article, it is amazing!

But there is error in downloaded woff font sample. SFNT tables offsets are relatively to TABLE DIRECTORY beginning, while they need to be relatively to WOFF file beginning (see WOFF File Format 1.0)

BTW May I ask one more thing.
Everywhere there is a statement that type2 fonts do allow to use cubic beziers. However, reading Type 2 Chastrings specification I can see charstrings commands for quadratic beziers only. Could you pls, explain

make GSUB work in everything

Currently only Firefox seems to accept the GSUB table used in the generated font. Chrome and IE need to accept it too, before this can be considered a correct GSUB table

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.