You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -266,16 +266,20 @@ dependencies {
266
266
Node Editor using ImGui. (A bit more complex than ImNodes, but has more features.)
267
267
268
268
## Freetype
269
-
By default, Dear ImGui uses stb-truetype to render fonts. Yet there is an option to use FreeType font renderer. Read [imgui_freetype](https://github.com/ocornut/imgui/tree/256594575d95d56dda616c544c509740e74906b4/misc/freetype) to get more info.
270
-
Binding has this option too. There are two types of precompiled binaries: 1. with stb (the default one) 2. with freetype.
269
+
By default, Dear ImGui uses stb-truetype to render fonts. Yet there is an option to use FreeType font renderer. Go th the [imgui_freetype](https://github.com/ocornut/imgui/tree/256594575d95d56dda616c544c509740e74906b4/misc/freetype) to read about the difference.
270
+
Binding has this option too. Freetype especially useful when you use custom font with small (~<16px) size. If you use the default font or a large font, stb will be fine for you.
271
+
272
+
There are two types of precompiled binaries: 1. with stb (the default one) 2. with freetype.
271
273
You can decide by yourself, which kind of libraries for any system you want to use.
272
274
273
-
Take a not, that for Linux and Mac users using of freetype will add additional dependency to the `libfreetype` itself.
274
-
This is not the case for Windows users, since `dll`files are compiled fully statically and already include freetype in themselves.
275
+
Take a not, that for Linux and Mac users using of freetype will add an additional dependency to the `libfreetype` itself.
276
+
This is not the case for Windows users, since `dll`binaries are compiled fully statically and already include freetype in themselves.
275
277
276
-
**For fully portable application** use default libraries. You can still use freetype binaries for Windows builds without worry.
278
+
**For fully portable application** use default binaries.<br>
279
+
You can still use freetype binaries for Windows builds without worry though.
277
280
278
-
**For better fonts** use freetype libraries. Don't forget to make clear for your Linux/Mac users, that they will need to install freetype on their systems as well.
281
+
**For better fonts** use freetype binaries.<br>
282
+
Don't forget to make clear for your Linux/Mac users, that they will need to install freetype on their systems as well.
0 commit comments