-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: juce::Typeface::createSystemTypefaceFor returns no Font with OTF Font Type #1475
Comments
Is the code snippet copied directly from your project?
Where are you initialising |
sorry reloadLight was my TTF font that made me realize the bug.. you should put the otf font in that constructor. |
Are you saying that you're still seeing the problem if you pass an otf font there? If the issue is resolved, please let me know and I'll close this issue. |
No no the bug is still there
…________________________________
Da: reuk ***@***.***>
Inviato: Tuesday, November 19, 2024 6:44:15 PM
A: juce-framework/JUCE ***@***.***>
Cc: francescopellegrni ***@***.***>; Author ***@***.***>
Oggetto: Re: [juce-framework/JUCE] [Bug]: juce::Typeface::createSystemTypefaceFor returns no Font with OTF Font Type (Issue #1475)
Are you saying that you're still seeing the problem if you pass an otf font there? If the issue is resolved, please let me know and I'll close this issue.
—
Reply to this email directly, view it on GitHub<#1475 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BNBEMYN7BJVBB2IWXHOI4GT2BN2G7AVCNFSM6AAAAABSAPJ4SSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGM3DCMBUGE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I haven't been able to reproduce this issue so far. OTF fonts loaded from binarydata display as I'd expect in a new GUI app project running on macOS 15.
Is the JUCE version definitely the only thing that changed, or did you make any source code or configuration changes to your project during the upgrade? It would be helpful to see the entire source code of a minimal program that demonstrates the issue, so that we can rule out bugs in the program code. It would also be a good idea to test with a different |
Detailed steps on how to reproduce the bug
` auto reloadRegular = juce::Typeface::createSystemTypefaceFor(BinaryData::ReloadRegular_otf, BinaryData::ReloadRegular_otfSize);
auto ff = juce::Font(reloadLight);
Working in both JUCE 6 and 7, but stopped working in juce 8.
version 8.0.4 - Xcode 16 - Sequoia
What is the expected behaviour?
Have the text with the off font.
Operating systems
macOS
What versions of the operating systems?
16
Architectures
x86_64, Arm64/aarch64
Stacktrace
No response
Plug-in formats (if applicable)
No response
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the
develop
branchI have not tested against the
develop
branchCode of Conduct
The text was updated successfully, but these errors were encountered: