# Fonts - Using system fonts or packaging in a default font

**URL:** <https://forum.juce.com/t/fonts-using-system-fonts-or-packaging-in-a-default-font/35182>\
**Category:** General JUCE discussion\
**Created:** [September 11, 2019, 7:28pm UTC](https://forum.juce.com/t/fonts-using-system-fonts-or-packaging-in-a-default-font/35182 "2019-09-11T19:28:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebound](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ebound/32/5800_2.png) [@ebound](https://forum.juce.com/u/ebound)\
**Post date:** [September 11, 2019, 7:28pm UTC](https://forum.juce.com/t/fonts-using-system-fonts-or-packaging-in-a-default-font/35182/1 "2019-09-11T19:28:43Z")

</div>

So in looking in the doc’s, it says when I set a font to use, it looks for that font on the users system, and if it doesn’t find it it will use whatever is set as default for that font family (e.g. Arial). Is there a way to package a default font that will display the same on all systems and not access any of the font’s on the machine at all? Just to have a consistent display.

Thanks

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [September 11, 2019, 8:20pm UTC](https://forum.juce.com/t/fonts-using-system-fonts-or-packaging-in-a-default-font/35182/2 "2019-09-11T20:20:54Z")

</div>

Yep, of course there’s a way!

You can load your desired font up and override `getTypefaceForFont` in a custom `LookAndFeel`.

The `Typeface::Ptr` instance you create should be loaded once, via this call:

```auto
Typeface::Ptr myFont = Typeface::createSystemTypefaceFor (/*data*/, /*sizeOfDataInBytes*/);

```
