{"id":22980576,"url":"https://github.com/dinau/nimgl_test","last_synced_at":"2026-05-02T11:32:25.785Z","repository":{"id":144897858,"uuid":"606351802","full_name":"dinau/nimgl_test","owner":"dinau","description":"Nimgl: Dear ImGui (CImGui) demo program test for Japanese fonts","archived":false,"fork":false,"pushed_at":"2025-09-06T00:58:05.000Z","size":875,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-06T01:19:15.925Z","etag":null,"topics":["cimgui","font","glfw","gui","imgui","implot","nim","nimgl","opengl","ui"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dinau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-25T08:13:56.000Z","updated_at":"2025-09-06T00:58:08.000Z","dependencies_parsed_at":"2023-04-26T01:16:57.076Z","dependency_job_id":"a311b18f-24ff-4322-bb26-efc6fc180a88","html_url":"https://github.com/dinau/nimgl_test","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/dinau/nimgl_test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinau%2Fnimgl_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinau%2Fnimgl_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinau%2Fnimgl_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinau%2Fnimgl_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinau","download_url":"https://codeload.github.com/dinau/nimgl_test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinau%2Fnimgl_test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32533344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T11:28:32.350Z","status":"ssl_error","status_checked_at":"2026-05-02T11:27:30.140Z","response_time":132,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cimgui","font","glfw","gui","imgui","implot","nim","nimgl","opengl","ui"],"created_at":"2024-12-15T01:44:15.428Z","updated_at":"2026-05-02T11:32:25.778Z","avatar_url":"https://github.com/dinau.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [Nimgl / ImGui demo program](#nimgl--imgui-demo-program)\n  - [Prerequisite](#prerequisite)\n  - [Install dependencies](#install-dependencies)\n  - [Examples](#examples)\n    - [rlimgui_basic (Naylib(Raylib) + rlImGui)](#rlimgui_basic-naylibraylib--rlimgui)\n    - [glfw_opengl3](#glfw_opengl3)\n    - [glfw_opengl3_image_load](#glfw_opengl3_image_load)\n    - [glfw_opengl3_implot](#glfw_opengl3_implot)\n    - [imDrawListParty](#imdrawlistparty)\n    - [implot_jp](#implot_jp)\n    - [jpFont](#jpfont)\n  - [IME for Japanese / 日本語入力(IME)について](#ime-for-japanese--%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%85%A5%E5%8A%9Bime%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6)\n  - [Referrence](#referrence)\n  - [My tools version](#my-tools-version)\n  - [Other ImGui / CImGui project](#other-imgui--cimgui-project)\n  - [SDL game tutorial Platfromer](#sdl-game-tutorial-platfromer)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n### Nimgl / ImGui demo program\n\n**Note**: Using [Dear ImGui](https://github.com/ocornut/imgui) v1.91.9bdock (2025/10) with [nimgl/imgui](https://github.com/nimgl/imgui)  \n\n#### Prerequisite\n\n---\n\n- nim-2.2.4 or later\n- OS: Windows11 or later\n- Download \n\n   ```sh\n   $ git clone https://github.com/dinau/nimgl_test\n   $ cd nimgl_test\n   ```\n\n- For Linux Debian13 or later\n\n   ```sh\n   $ sudo apt install libopengl-dev  libgl1-mesa-dev libglfw3-dev\n   $ sudo apt install libxcursor-dev libx11-dev libxext-dev libxinerama-dev libxi-dev\n   ```\n#### Install dependencies\n\n---\n\n   ```sh\n   $ pwd\n   nimgl_test\n   $ nimble build\n   ```\n\n#### Examples\n\n---\n\n#####  rlimgui_basic (Naylib(Raylib) + rlImGui)\n\n---\n\n[rlimgui_basic.nim](examples/rlimgui_basic/rlimgui_basic.nim)\n\n   ```sh\n   $ pwd \n   nimgl_test\n   $ cd examples/rlimgui_basic\n   $ make run\n   ```\n\n![alt](https://github.com/dinau/imguin_examples/raw/main/img/rlimgui.gif)\n\n#####  glfw_opengl3\n\n---\n\n[glfw_opengl3.nim](examples/glfw_opengl3/glfw_opengl3.nim)\n\n   ```sh\n   $ pwd \n   nimgl_test\n   $ cd examples/glfw_opengl3\n   $ make run\n   ```\n\n![alt](img/glfw_opengl3.png)\n\n\n#####  glfw_opengl3_image_load\n\n---\n\n[glfw_opengl3_image_load.nim](examples/glfw_opengl3_image_load/glfw_opengl3_image_load.nim)\n\n   ```sh\n   $ pwd \n   nimgl_test\n   $ cd examples/glfw_opengl3_image_load\n   $ make run\n   ```\n\n![alt](img/glfw_opengl3_image_load.png)\n\n#####  glfw_opengl3_implot\n\n---\n\n[glfw_opengl3_implot.nim](examples/glfw_opengl3_implot/glfw_opengl3_implot.nim)\n\n   ```sh\n   $ pwd \n   nimgl_test\n   $ cd examples/glfw_opengl3_implot\n   $ make run\n   ```\n\n![alt](img/glfw_opengl3_implot.png)\n\n##### imDrawListParty\n\n---\n\n[imDrawListParty.nim](examples/imDrawListParty/imDrawListParty.nim)\n\n```sh\n$ pwd \nnimgl_test\ncd examples/imDrawListParty\n$ make run\n```\n\n[ImDrawList coding party - deadline Nov 30, 2020! #3606](https://github.com/ocornut/imgui/issues/3606)  \nThis demo has been converted to Nim lang from two programs,  \n[Curve](https://github.com/ocornut/imgui/issues/3606#issuecomment-730648517)  \n![alt](https://user-images.githubusercontent.com/8225057/99726102-5b5a6f80-2ab6-11eb-8785-8a7de588dd6e.gif)  \nand [Real-time visualization of the interweb blogosphere](https://github.com/ocornut/imgui/issues/3606#issuecomment-730704909).  \n\n![alt](https://user-images.githubusercontent.com/35172202/99803095-e2a4f300-2b49-11eb-8979-0bd475c1cfee.gif)\n![alt](img/nimgl-imgui-coding-party-2023-08.png)  \n\n\n##### implot_jp\n\n---\n\n[implot_jp.nim](examples/implot_jp/implot_jp.nim)\n\nImPlot demo with Japanese fonts\n\n   ```sh\n   $ pwd \n   nimgl_test\n   $ cd examples/implot_jp\n   $ make run\n   ```\n\n   ![alt](img/nimgl-implot-demo-jp-font-2023-10.png)  \n\n##### jpFont\n\n---\n\n[jpFont.nim](examples/jpFont/jpFont.nim)\n\n```sh\n$ pwd \nnimgl_test\n$ cd examples/jpfont\n$ make run\n```\n\n![alt](img/nimgl-screen-shot-jp-font-2023-07.png)\n\n- Download: Windows10 sample exe file  \n[nimgl-test-jp-font-imgui-v1.84.2-ime-ok-2023-07.exe.7z](https://bitbucket.org/dinau/storage/downloads/nimgl-test-jp-font-imgui-v1.84.2-ime-ok-2023-07.exe.7z) \n\n#### IME for Japanese / 日本語入力(IME)について\n\n---\n\n以下のNim言語コンパイル / リンク時オプションを加えることで日本語入力を可能としている  \nオプションはバックエンドのC/C++コンパイラにのみ渡される\n\n```sh\n--passc:\"-DIMGUI_ENABLE_WIN32_DEFAULT_IME_FUNCTIONS\"\n--passL:\"-limm32\"\n```\n\n同じことをconfig.nims内に記述する場合は以下となる\n\n```nim\nswitch \"passC\",\"-DIMGUI_ENABLE_WIN32_DEFAULT_IME_FUNCTIONS\"\nswitch \"passL\",\"-limm32\"\n```\n\n#### Referrence\n\n---\n\n[Dear ImGuiで日本語入力時のIMEの位置をいい感じにする](https://qiita.com/babiron_i/items/759d80965b497384bc0e)  \n[Viewport, Platform: Fixed IME positioning for multi-viewport. Moved API from...](http://dalab.se.sjtu.edu.cn/gitlab/xiaoyuwei/imgui/-/commit/cb78e62df93732b64afcc9d4cd02e378730b32af)  \n[ImGui で日本語と記号♥と絵文字😺の表示](https://zenn.dev/tenka/articles/display_japanese_symbols_and_emoji_with_imgui)  \n\n#### My tools version\n\n---\n\n- Windows\n   - Nim Compiler Version 2.2.4 \n   - gcc.exe 15.2.0\n   - git version 2.46.0.windows.1\n   - make: GNU Make 4.4.1\n\n\n#### Other ImGui / CImGui project\n\n---\n\n\n| Language             |          | Project                                                                                                                                         |\n| -------------------: | :---:    | :----------------------------------------------------------------:                                                                              |\n| **Lua**              | Script   | [LuaJITImGui](https://github.com/dinau/luajitImGui)                                                                                             |\n| **NeLua**            | Compiler | [NeLuaImGui](https://github.com/dinau/neluaImGui), [NeLuaImGui2](https://github.com/dinau/neluaImGui2)                                          |\n| **Nim**              | Compiler | [ImGuin](https://github.com/dinau/imguin), [Nimgl_test](https://github.com/dinau/nimgl_test), [Nim_implot](https://github.com/dinau/nim_implot) |\n| **Python**           | Script   | [DearPyGui for 32bit WindowsOS Binary](https://github.com/dinau/DearPyGui32/tree/win32)                                                         |\n| **Ruby**             | Script   | [igRuby_Examples](https://github.com/dinau/igruby_examples)                                                                                     |\n| **Zig**, C lang.     | Compiler | [Dear_Bindings_Build](https://github.com/dinau/dear_bindings_build)                                                                             |\n| **Zig**              | Compiler | [ImGuinZ](https://github.com/dinau/imguinz)                                                                                                     |\n\n\n#### SDL game tutorial Platfromer\n\n---\n\n![ald](https://github.com/dinau/nelua-platformer/raw/main/img/platformer-nelua-sdl2.gif)\n\n\n| Language             |          | SDL         | Project                                                                                                                                               |\n| -------------------: | :---:    | :---:       | :----------------------------------------------------------------:                                                                                    |\n| **LuaJIT**           | Script   | SDL2        | [LuaJIT-Platformer](https://github.com/dinau/luajit-platformer)\n| **Nelua**            | Compiler | SDL2        | [NeLua-Platformer](https://github.com/dinau/nelua-platformer)\n| **Nim**              | Compiler | SDL3 / SDL2 | [Nim-Platformer-sdl2](https://github.com/def-/nim-platformer)/ [Nim-Platformer-sdl3](https://github.com/dinau/sdl3_nim/tree/main/examples/platformer) |\n| **Ruby**             | Script   | SDL3        | [Ruby-Platformer](https://github.com/dinau/ruby-platformer)                                                                                           |\n| **Zig**              | Compiler | SDL3 / SDL2 | [Zig-Platformer](https://github.com/dinau/zig-platformer)                                                                                             |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinau%2Fnimgl_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinau%2Fnimgl_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinau%2Fnimgl_test/lists"}