# Slow TextLayout on OSX with memory-based fonts

**URL:** <https://forum.juce.com/t/slow-textlayout-on-osx-with-memory-based-fonts/27065>\
**Category:** MacOSX and iOS\
**Created:** [April 3, 2018, 3:51pm UTC](https://forum.juce.com/t/slow-textlayout-on-osx-with-memory-based-fonts/27065 "2018-04-03T15:51:55Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pflugshaupt](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pflugshaupt/32/13206_2.png) [@pflugshaupt](https://forum.juce.com/u/pflugshaupt)\
**Post date:** [April 11, 2018, 2:44pm UTC](https://forum.juce.com/t/slow-textlayout-on-osx-with-memory-based-fonts/27065/7 "2018-04-11T14:44:39Z")

</div>

Setting canAllTypefacesBeUsedInLayout (…) to return false fixes my issue, but I can’t do that without patching JUCE.  
My font does work correctly on OSX outside Juce and the same code/font does work on windows.  
My conclusion is that at least with my configuration the old workaround is still needed even on pure 10.11 and I would very much like to have a way to override the new behaviour with the old one as I have no issues with speed.

Update: I tried running the same thing on 10.13 and there it is displaying correctly. I have no access to 10.12. Anything below 10.11 will use the old workaround and probably work in my case.

---

_[View the full topic](https://forum.juce.com/t/slow-textlayout-on-osx-with-memory-based-fonts/27065)._
