Comments (7)
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.
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.
i just commited a fix. its working on my side. can you confirm ?
from imguifontstudio.
@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:
Also, I tried to do it several times with other font files under root, still doesn't work. With STB too.
from imguifontstudio.
yes i seen this issue with a bad message. jsut corrected too.
now its working ?
from imguifontstudio.
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:
Font generated by font studio with all selected glyphs(but works in ImGui and font studio):
This is not a big problem, the main thing is that imgui normally opens the font.
from imguifontstudio.
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)
- Im Merge mode, some glyphs of the resulting font are very small
- [freetype branch] Color Font are Displayed in MonoChrome HOT 7
- MaterialDesign-Webfont last version not shown HOT 1
- samples_Fonts share HOT 1
- Development help? HOT 3
- Not a valid font file ttf error (using Windows release binary) HOT 4
- Any help to compile on Windows? HOT 2
- Can't compile on Fedora HOT 3
- Header is not generated in merge mode after app start
- Merged mode; glyph downscale look bad
- Build on Visual Studio "lose some const-volatile qualifiers" HOT 3
- Wrong font size HOT 2
- Merged fonts not working HOT 14
- cant generate after a save as of the project to another location
- How to merge all final glyphs to a new file HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imguifontstudio.