I'm having problems with some fonts not loading in IE11. I've added different font files for the Helvetica Neue Bold but still it's not loading on IE11 and there's no error in the console but for the SourceSansPro it loads with no problem. Any ideas why? Thanks!
Font Face
Source Sans Pro Loaded
Related
I am using Noto Serif Medium font. Everything works as it should, when I launch the app with a fresh start.
The issue happens when I background the app and open anything that has not been rendered yet.
The classic "Unrecognised font family" error appears.
This error happens on iOS emulator and iOS physical devices.
I have checked targets, resources and Info.plist file in Xcode. Everything is there. Still this error happens.
I suspect that there could be an issue with the .ttf file itself, as you're not able to get this font from Google Fonts directly, even though it is a free to use font.
Is there anyone that can provide a lead to a solution?
This one was a dozzie.
Turns out, that it shouldn't have been working in a first place. It was a classical iOS font name issue. I don't know why it was working when the app wasn't backgrounded, but hey atleast the problem is solved.
Just use the PostScript name, not the real name tag in iOS fontbook.
I'm working on a managed workflow Expo React Native app and am using Google Fonts (Nunito Sans specifically). I imported the font from #expo-google-fonts/nunito-sans and am loading it using the useFonts hook.
When using the font in styled components like font-family: "Nunito Sans", I get the error that:
fontFamily "Nunito Sans" is not a system font and has not been loaded through Font.loadAsync.
- If you intended to use a system font, make sure you typed the name correctly and that it is supported by your device operating system.
- If this is a custom font, be sure to load it with Font.loadAsync.
Is there any way I can still load Nunito Sans using useFonts?
I've been spinning my wheels on this subject for a few days. I have Xfinium PDF in a Xamarin.Forms application I'm working on and I need to generate a pdf in different languages. So I have different .otf files set up as a PdfUnicodeTrueTypeFont. Now this works in iOS no problem, but in Android the PDF is generated blank if I try to generate it in a language that needs one of these fonts. I also have lost the ability due some other things going on in my work environment to side load to android or debug in android at all.
Make sure the font is embedded in the PDF (either by looking at the file directly or using an application to get information on embedded fonts).
If the font is not embedded it's possible that Android is failing to fallback to another font for some reason. Does the PDF open correctly Chrome?
How can I know "Helvetica Neue Lt Std" font is installed in my ipad 7.1 simulator. If it is not installed , how can i install it?
use this code and see console while debug you will get all the font family which is there in your ipad
NSLog(#"%#",[UIFont fontNamesForFamilyName:#"Helvetica LT"]);
if font is not there then you add font name in your plist file like displayed in attached screenshot and add font in your projects resource Directory
You can not install custom front to iOS device or simulator. Please correct me if I am wrong.
But you can use custom fonts in your app.
Can someone post the proper syntax for using #font-face with the HTMLloader. I'm loading an HTML string directly into the loader and it will render normal CSS, but I can't get it to load the TTF I'm referencing with #font-face.
Turns out that the Adobe only has Adobe Air 1.5 built into it, that was my problem. Using this tutorial, I was able to upgrade to use Adobe Air 2.7 using this tutorial,
http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-flash-cs5/
After upgrading the #font-face started working, but I still didn't like it cause the fonts had no anti-alias smoothing, the fonts render like they would in a browser using web safe fonts.