We bundle various HTML help files into our app, and we use the WebBrowserComponent to show these help files. We recently migrated from Juce 3 to Juce 5.2.1, and we noticed that the font for these help files had become tiny on iOS.
I dug through the commit logs a bit for modules/juce_gui_extra/native/juce_mac_WebBrowserComponent.mm, and it looks like commit 05a3ebc4ebe7e732ac1fde171d1483365bf41032 is what caused the problem. It added these lines:
If these lines are removed, the problem goes away.
Now to give you all an example of what the problem looks like. I’ve attached a simple HTML file without any CSS or other formatting, and a screenshot of what it looks like on iOS on an iPhone 6.
I had to give the HTML file a txt extension so that I could upload it.
HelloWorld.txt (2.8 KB)