mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Update README.md
This commit is contained in:
parent
1d7b0084cb
commit
0ece471a71
@ -41,7 +41,6 @@ ImGui can load TTF fonts. UTF-8 is supported for text display and input. Here us
|
|||||||
```
|
```
|
||||||
ImGuiIO& io = ImGui::GetIO();
|
ImGuiIO& io = ImGui::GetIO();
|
||||||
io.Fonts->AddFontFromFileTTF("ArialUni.ttf", 18.0f, io.Fonts->GetGlyphRangesJapanese());
|
io.Fonts->AddFontFromFileTTF("ArialUni.ttf", 18.0f, io.Fonts->GetGlyphRangesJapanese());
|
||||||
|
|
||||||
```
|
```
|
||||||
![Japanese screenshot](/web/code_sample_01_jp.png?raw=true)
|
![Japanese screenshot](/web/code_sample_01_jp.png?raw=true)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user