Code Monkey home page Code Monkey logo

Comments (6)

Templarian avatar Templarian commented on June 1, 2024 1

@okyr-ux We would need to add it to our build script.

https://github.com/nfroidure/svgicons2svgfont Looks like the package supports it.

from materialdesign-font.

JohnnyWestlake avatar JohnnyWestlake commented on June 1, 2024

I would say it's not supposed too, AFAIK OTF/TTF files can't store names for glyphs inside the fonts, glyphs can only be referenced by id and codepoint. So Figma would have to manually create a codepoint -> icon name mapping for this font.

(I've done this for software I've worked on, but would be more reliable if the version number propagated to the final TTF file's version tag).

from materialdesign-font.

Templarian avatar Templarian commented on June 1, 2024

@JohnnyWestlake Nah, we can use the built in ligature support I believe to make this work. I'm working out the code right now for this. Hopefully have a proof of concept done that we can roll out into production shortly.

from materialdesign-font.

Templarian avatar Templarian commented on June 1, 2024

Running into an issue. Putting more than 2209 ligatures into the TTF breaks and we have 5k icons, so not sure we can make this work. Will have to do some more research.

https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6lcar.html

from materialdesign-font.

mririgoyen avatar mririgoyen commented on June 1, 2024

We have determined that we cannot support ligatures based on the number of icons in the library.

from materialdesign-font.

Templarian avatar Templarian commented on June 1, 2024

Going to close this out as this seems to be a limitation in the ligature table. To get around it we would need to breakup the font as there are too many characters.

Going to close this one.

from materialdesign-font.

Related Issues (11)

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.