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
+66-4Lines changed: 66 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ It hides all low-level stuff under one class to extend, so you can build your GU
33
33
-**Multi-Viewports/Docking Branch**<br>
34
34
Binding has a full support of [Multi-Viewports](https://github.com/ocornut/imgui/wiki/Multi-Viewports) and [Docking](https://github.com/ocornut/imgui/wiki/Docking). <br>
35
35
-**FreeType Font Renderer**<br>
36
-
FreeType font renderer enabled by default to provide a better quality fonts.<br>
36
+
FreeType font renderer provides a much better fonts quality. [See how to use](#freetype).<br>
37
37
-**Extensions**<br>
38
38
Binding includes several useful [extensions](https://github.com/ocornut/imgui/wiki/Useful-Widgets) for Dear ImGui. [See full list](#extensions).
39
39
@@ -133,9 +133,17 @@ dependencies {
133
133
Using binding without the wrapper requires to "attach" it to your application manually.
134
134
You can refer to [imgui-app](https://github.com/SpaiR/imgui-java/blob/v1.82.0/imgui-app) module and see how things are done there.
135
135
136
-
#### Dependencies
137
-
For simplicity, example of dependencies for Gradle and Maven only show how to add natives for Windows.<br>
138
-
Feel free to add other platforms: `imgui-java-natives-windows-x86`, `imgui-java-natives-linux`, `imgui-java-natives-linux-x86`, `imgui-java-natives-macos`.
136
+
### Dependencies
137
+
For simplicity, example of dependencies for Gradle/Maven only shows how to add natives for Windows.
Node Editor using ImGui. (A bit more complex than ImNodes, but has more features.)
259
267
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.
271
+
You can decide by yourself, which kind of libraries for any system you want to use.
272
+
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
+
276
+
**For fully portable application** use default libraries. You can still use freetype binaries for Windows builds without worry.
277
+
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.
279
+
280
+
### How To Use
281
+
- Maven/Gradle:<br>
282
+
Use the same native libraries as you would, but with `-ft` suffix in the end.
0 commit comments