Giter Site home page Giter Site logo

Comments (7)

Chlumsky avatar Chlumsky commented on June 23, 2024

Did you read Character set specification syntax?

from msdf-atlas-gen.

caperaven avatar caperaven commented on June 23, 2024

I did.

"\e900","\e901","\e902","\e903"

  1. separated by comma or space - check
  2. in between quotation marks - check
  3. backslash used as escape character - check

also tried double backslashes
"\\e900","\\e901","\\e902","\\e903"

What am I missing?

from msdf-atlas-gen.

Chlumsky avatar Chlumsky commented on June 23, 2024

I have literally no idea what something like \e903 even is supposed to mean, because in the version I read, I didn't see anything about this kind of syntax, so maybe we each read something different...

from msdf-atlas-gen.

caperaven avatar caperaven commented on June 23, 2024

its basically the text used to render the icon

CSS
.icon-locate-asset:before {
content: "\e900";
}

image

Also tried using the liga in the txt file
'\locate','\settings','\account','\approved'

in that case it tells me
"Failed to load character set specification."

from msdf-atlas-gen.

caperaven avatar caperaven commented on June 23, 2024

for the hell of it, I also tried
'\icon-locate-asset','\icon-settings-outline','\icon-account','\icon-approved'
but still gives me "Failed to load character set specification."

I must be doing something wrong here but for the life me of don't know what

from msdf-atlas-gen.

Chlumsky avatar Chlumsky commented on June 23, 2024

You don't seem to understand what the character set file is. It is a set of numbers - Unicode values. So if you mean the hexadecimal Unicode value E900, then why don't you just put in 0xe900? Otherwise, I still have no idea what you're trying to do.

from msdf-atlas-gen.

caperaven avatar caperaven commented on June 23, 2024

ok, yes, I checked on https://fontdrop.info/ and turns out that it is the unicode.
so setting my values to 0xe900, 0xe901 worked.

Thank you very much for your patience and support.

from msdf-atlas-gen.

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.