Code Monkey home page Code Monkey logo

Comments (10)

naixx avatar naixx commented on July 26, 2024

If further implementation would use gradle plugin, it can generate mappings as well

from android-iconify.

JoanZapata avatar JoanZapata commented on July 26, 2024

What would be the input / output of the plugin? I can't generate the mappings with TTF file only.

from android-iconify.

naixx avatar naixx commented on July 26, 2024

So, using fontastic, user provides character mapping and human readable css class mapping. The generated output could be strings.xml described before(I don't know, whether it is good idea to have resources in generated folders, probably it can be optional) and {font_name?}IconValue as it is done for FontAwesome now.

from android-iconify.

JoanZapata avatar JoanZapata commented on July 26, 2024

Let start simple by accepting a user provided .ttf file and hard coded mapping, then I'll see if I can do something to generate the mapping automatically at compile time.

from android-iconify.

gorbin avatar gorbin commented on July 26, 2024

@JoanZapata, for example, I generate ttf from here(http://fontello.com/) then I want to use it via this lib:
I change ttf, then what should I do? just change public static enum IconValue {}?

from android-iconify.

JoanZapata avatar JoanZapata commented on July 26, 2024

yep, that's all.

from android-iconify.

gorbin avatar gorbin commented on July 26, 2024

tnx, try it soon) if so it awesome

from android-iconify.

gtramontina avatar gtramontina commented on July 26, 2024

Any updates on this issue?

from android-iconify.

JoanZapata avatar JoanZapata commented on July 26, 2024

I don't have time for this right now, but as @gorbin said you can do it yourself by cloning the repo, and changing the .ttf file with your own. All you'll have to do is to adapt the mapping in the Iconify class.

from android-iconify.

JoanZapata avatar JoanZapata commented on July 26, 2024

Fixed by v2.

from android-iconify.

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.