![]() ![]() (which seemed to work for some people out there) worked out. I found ATSApplicationFontsPath and tried to add it to the ist, but neither using a path (recommended by the docs) or values like. For me that indicates that I am using the correct font name. I printed it’s value print().Ĭonfusing: If the exactly same font-file I want to add to the app is installed in the systems Fontbook and activated, everything works well. I installed the fonts on my system and configured a Label with Interface Builder so that it uses the desired font. I made sure that I use the correct font name. Install fonts Double-click the font in the Finder, then click Install Font in the font preview window that opens. ist: I added Fonts provided by application and created an item for every font-file I want to add (values like myFont.tff). After compiling I can see that all files are within the Bundle. ttf font-files to my project: Target Membership is set and I also made sure that the files are copied using Copy Files within Bundle Phases. I followed a bunch of tutorials but it doesn’t work: I simply want to add a custom font to a macOS app. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |