Skip to content

Commit 1d7b008

Browse files
committed
Update README.md
1 parent 819c114 commit 1d7b008

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,12 @@ Gallery
3939
ImGui can load TTF fonts. UTF-8 is supported for text display and input. Here using Arial Unicode font to display Japanese. Initialize custom font with:
4040

4141
```
42-
ImGuiIO& io = ImGui::GetIO();
43-
io.Fonts->AddFontFromFileTTF("ArialUni.ttf", 18.0f, io.Fonts->GetGlyphRangesJapanese());
42+
ImGuiIO& io = ImGui::GetIO();
43+
io.Fonts->AddFontFromFileTTF("ArialUni.ttf", 18.0f, io.Fonts->GetGlyphRangesJapanese());
4444
4545
```
4646
![Japanese screenshot](/web/code_sample_01_jp.png?raw=true)
4747

48-
![utf-8 screenshot](/web/utf8_sample_01.png?raw=true)
49-
5048
References
5149
----------
5250

0 commit comments

Comments
 (0)