Comments (7)
Ok, I'll have a look
from imguifontstudio.
i though i was just the widget display who was not ok, but when you check the texture, she appears also in two colors :
from imguifontstudio.
i found the bug haha. it was not imgui_freetpe :) but my soft
i defined the flag but not pass it to buildatlas.
in fact its weird to have extra_flags in buildatlas func, since flags can be passed directly to font_config->RasterizerFlags
from imguifontstudio.
@aiekick, hello, I have just added a fix into colored glyphs branch which fixes colors and antialiasing pshurgal/imgui@1cc96e7
from imguifontstudio.
Hello, I have just seen you message. Ok, I'l have a look. But first are you sure you are using right font file? As i said in original PR it seems that freetype does not support colors in SVGinOT fonts yet. So you have to check are there CPAL
and COLR
tables listed inside your font file. You can just open the font file in HEX editor and look which tables are listed in the beginning of the file.
from imguifontstudio.
Yep i have checked the font, and there is the tables CPAL and COLR.
i have put a button for switch freetype/imgui rasterizer and activate or not the color.
when i activate color, the smiley was filled in black, and its logic to be filled, sicne this color is layered, but dont understand why no color appearing.
im using the windows font you mention in your PR : C:\Windows\Fonts\seguiemj.ttf
from imguifontstudio.
you have a windows build here :
https://github.com/aiekick/ImGuiFontStudio/actions/runs/260916146
from imguifontstudio.
Related Issues (16)
- Im Merge mode, some glyphs of the resulting font are very small
- MaterialDesign-Webfont last version not shown HOT 1
- samples_Fonts share HOT 1
- Bug: font studio generates broken fonts HOT 7
- 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.