Skip to content

Commit e42ac49

Browse files
authored
[Doc] Tweak readme
1 parent cfab913 commit e42ac49

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,16 +266,20 @@ dependencies {
266266
Node Editor using ImGui. (A bit more complex than ImNodes, but has more features.)
267267

268268
## 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.
271273
You can decide by yourself, which kind of libraries for any system you want to use.
272274

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.
275277

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.
277280

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.
279283

280284
### How To Use
281285
- Maven/Gradle:<br>

0 commit comments

Comments
 (0)