GithubHelp home page GithubHelp logo

Comments (4)

aiekick avatar aiekick commented on June 21, 2024 1

i think its better to use two font instead of one merged.
because when you merge glyphs, you have source fonts who have differents scale, base line and other things, than can produce different placement of glyphs in the same font. thais is why in ImGuiFontStudio there is a pane for preview the final font for a text.
image
because with it you can move glyphs for match your text

if you merged two font who are using the same params, its ok but if not can be an issue.

for your issue, you need to check the font scale at start

from imguifontstudio.

moebiussurfing avatar moebiussurfing commented on June 21, 2024

I compiled the current master branch binary,
but still getting the same error ...
(Also when only using one font.)
Any idea?

from imguifontstudio.

aiekick avatar aiekick commented on June 21, 2024

Hello,
i know there is some problems with some fonts
chek this past issue : #14
the goal of this tool was first for programming and especially for imgui.
there is better tool for general use, like fontforge.
Not sure why its broken, the generation of font is partial, by ex, i not support composites glyphs and some others features.
this is why there is no release for the moment.
if you can open it with stb or freetype in ImguiFontStudio, so you will be able to open it with imgui for your app.
and this the why this tool was created.
btw you have the code, so you can try to found the bug, because i have no time to work on it for many months.

from imguifontstudio.

moebiussurfing avatar moebiussurfing commented on June 21, 2024

Ok. thanks.

I tried to open the "broken" ttf and the .h into my ImGui project codes and it worked.
I don't need FontForge at all, or to open the font anywhere else,
I just want to make my ImGui buttons.

tempsnip

Now I need to learn a bit to layout fine into the buttons, centered etc..

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.