# Using ci::Fonts with cinder ImGui 0.9.3

**URL:** <https://discourse.libcinder.org/t/using-ci-fonts-with-cinder-imgui-0-9-3/1667>\
**Category:** Uncategorized\
**Created:** [June 16, 2020, 11:35am UTC](https://discourse.libcinder.org/t/using-ci-fonts-with-cinder-imgui-0-9-3/1667 "2020-06-16T11:35:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![felixfaire](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/felixfaire/32/168_2.png) [@felixfaire](https://discourse.libcinder.org/u/felixfaire)\
**Post date:** [June 16, 2020, 11:35am UTC](https://discourse.libcinder.org/t/using-ci-fonts-with-cinder-imgui-0-9-3/1667/1 "2020-06-16T11:35:59Z")

</div>

Hi All.

Now that Imgui is being integrated fully into cinder would it be possible to use ci::Font objects directly to add new fonts? The old block supported this using an fs:path for the font which was fine for macos but broke if you tried to include a font in resources on Windows (as windows font resources dont have paths as far as I can see).

Imgui can be completely transformed when using the non standard font and I used it often with the old block. The new integrated imgui renderer implementation is a little out of my depth, how difficult do people think it be to be able to add proper ci::Font support to the inbuilt imgui implementation?

Or any examples or pointers to get me started would be appreciated.

---

<div class="post-metadata">

**Author:** ![rich.e](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/rich.e/32/1025_2.png) [@rich.e](https://discourse.libcinder.org/u/rich.e)\
**Post date:** [June 17, 2020, 11:38pm UTC](https://discourse.libcinder.org/t/using-ci-fonts-with-cinder-imgui-0-9-3/1667/2 "2020-06-17T23:38:46Z")

</div>

Do you need the `ci::Font`? I think there are examples on how to load custom fonts with the opengl imgui wrappers and freetype, which seems like a better way to go to me since things will look the same across all platforms. It’s also the direction cinder itself is headed in (ditching the platform specific `ci::Font` impls for Freetype).

cheers,  
Rich

---

<div class="post-metadata">

**Author:** ![felixfaire](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/felixfaire/32/168_2.png) [@felixfaire](https://discourse.libcinder.org/u/felixfaire)\
**Post date:** [June 18, 2020, 9:57am UTC](https://discourse.libcinder.org/t/using-ci-fonts-with-cinder-imgui-0-9-3/1667/3 "2020-06-18T09:57:34Z")

</div>

Thanks Rich.

I dont really need ci::Font at all, that has just been my main gateway to using fonts before. Will try to find some examples of using freetype + cinder / imgui.

cheers.
