GithubHelp home page GithubHelp logo

Comments (7)

aiekick avatar aiekick commented on July 20, 2024 1

ok, until i not regenerate all font object; this kind of things can happen. my goal is not to do a general font tool. for that there is better alternative like fontforge. my tool is mores specific for programmer and especially embedded font. and truetype is a old format many tool sue different rules for say if a ttf is ok or not. some time freetype not want to open font, but other tool are ok..
so not sure if we can have a good way in all cases :)
i will check this tool. but maybe another table is wrong, i just generated the base tables..

i jsut tried with fontawesome.ttf (in sample_fonts) dir and it work also in linux font viewer i have on my ubuntu.. weird..

from imguifontstudio.

aiekick avatar aiekick commented on July 20, 2024

So its not an awesome tool, if you cant make it working :(

i reproduce the same issue than you. freetype was NOk, but stb was OK

if you select STB rasterizer he is working ?

i know, than the font writer have issues with freetype (this is why there is no release for the moment, many bugs on generation)
im curently write my own, for quit sfntly

for your issue i will analyse and maybe adress a quick fix if i found it :)

from imguifontstudio.

aiekick avatar aiekick commented on July 20, 2024

i just commited a fix. its working on my side. can you confirm ?

from imguifontstudio.

Vine1 avatar Vine1 commented on July 20, 2024

@aiekick I checked the STB rasterizer in the previous commit, it doesn't work too.
Also, I checked the latest commit, but there is another problem. I can't generate a font. It gives me an error "Could not open font file", but the font file had been opened earlier. Screenshot:
image
Also, I tried to do it several times with other font files under root, still doesn't work. With STB too.

from imguifontstudio.

aiekick avatar aiekick commented on July 20, 2024

yes i seen this issue with a bad message. jsut corrected too.

now its working ?

from imguifontstudio.

Vine1 avatar Vine1 commented on July 20, 2024

Oh, I just forgot to select glyphs =)
Now fonts generate correctly with both modes. Almost. Generated font can be correctly opened in font studio and from ImGui, but the Linux default font viewer still can't read the font. The original font reads normal.
Original font:
image
Font generated by font studio with all selected glyphs(but works in ImGui and font studio):
image
This is not a big problem, the main thing is that imgui normally opens the font.

from imguifontstudio.

aiekick avatar aiekick commented on July 20, 2024

to be sure, what is the name of your foot viewer ? for found it and do some tests with him

from imguifontstudio.

Related Issues (16)

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.