-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: font studio generates broken fonts #14
Comments
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) for your issue i will analyse and maybe adress a quick fix if i found it :) |
…o load the font. (not STB) (#14) [UPD] : update of ImGui v1.80 and ImGuiFileDialog
i just commited a fix. its working on my side. can you confirm ? |
@aiekick I checked the STB rasterizer in the previous commit, it doesn't work too. |
yes i seen this issue with a bad message. jsut corrected too. now its working ? |
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.. i jsut tried with fontawesome.ttf (in sample_fonts) dir and it work also in linux font viewer i have on my ubuntu.. weird.. |
to be sure, what is the name of your foot viewer ? for found it and do some tests with him |
Hi! You created an awersome tool. Thank you! But it doesn't work for me.
![image](https://user-images.githubusercontent.com/37869532/105534563-add52980-5cbb-11eb-9a46-1c73ee490a3a.png)
I get an error after generating a font:
As far as I understand, it tries to load just generated font, but it can't because the font is broken. Also, I tried to manually open generated font using OS font viewer and font studio, both give an error.
How I have compiled it:
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
And it was built successfully.
Then I just created a new project, opened just downloaded FontAwersome font, selected all glyphs, and pressed generate. I didn't change any settings.
Font studio opened header file (ok), png (ok), but the font generated by the studio was broken, so, I got this error message.
Also, I tried different fonts.
OS: Linux 5.10
Compiler: GCC (10.2)
CMake: latest (3.19)
Screenshot:
![image](https://user-images.githubusercontent.com/37869532/105537908-a6644f00-5cc0-11eb-8071-8275f12444f6.png)
I hope for your help! Thanks in advance!
The text was updated successfully, but these errors were encountered: