devsmart

Q: How to change Default Font for other language?

Hello,

 

I'm facing rendering issues with the font Apple has by default and wanted to change another font to be used system wide.

 

E.G. See the

u+0DBB u+0DD0 or u+0DBB u+0DD1  or u+0DBB u+0DD1

http://www.sayura.net/anuradha/sinhala/unicode/test/2/index.html

 

This is wired when I use the language with apple default font.

Appriciate your help on change the default font on selected language to another one.

MacBook Pro (Retina, 15-inch, Mid 2014), OS X Yosemite (10.10.2)

Posted on Mar 9, 2015 8:09 PM

Close

Q: How to change Default Font for other language?

  • All replies
  • Helpful answers

  • by Tom Gewecke,

    Tom Gewecke Tom Gewecke Mar 9, 2015 9:44 PM in response to devsmart
    Level 9 (78,979 points)
    Mar 9, 2015 9:44 PM in response to devsmart

    Please use the camera icon to post a screen shot of what you are seeing, so we can understand what is not being rendered correctly.

     

    You might be able to change the default font by editing this file (I have not tried it):

     

    /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.fra mework/Resources/DefaultFontFallbacks.plist

  • by devsmart,

    devsmart devsmart Mar 9, 2015 9:53 PM in response to Tom Gewecke
    Level 1 (0 points)
    Mar 9, 2015 9:53 PM in response to Tom Gewecke

    Sorry, screenshots are missed when attached

     

    Rendered letter is in the left side and correct letter is in the right side.

    Screen Shot 2015-03-10 at 10.19.38 AM.png

     

    Screen Shot 2015-03-10 at 10.20.27 AM.png

  • by devsmart,

    devsmart devsmart Mar 9, 2015 10:10 PM in response to devsmart
    Level 1 (0 points)
    Mar 9, 2015 10:10 PM in response to devsmart

    When I change font in /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.fra mework/Resources/DefaultFontFallbacks.plist it doesn't render, may be coz. of I'm using TTF font ?

    Screen Shot 2015-03-10 at 10.37.30 AM.png

  • by Tom Gewecke,

    Tom Gewecke Tom Gewecke Mar 10, 2015 6:17 AM in response to devsmart
    Level 9 (78,979 points)
    Mar 10, 2015 6:17 AM in response to devsmart

    Try using the FireFox browser.  It lets you set your preferred font in its preferences, overriding anything else.  Let me know if that works.

     

    What is the font you want to use, and where does it come from?

  • by devsmart,

    devsmart devsmart Mar 10, 2015 6:38 AM in response to Tom Gewecke
    Level 1 (0 points)
    Mar 10, 2015 6:38 AM in response to Tom Gewecke

    Thanks for the help. I'm already suing Google Chrome with Advanced Font Settings Add-on and changing font for language. But I wanted to use same kind of way with other applications as well. 

     

    I'm using Iskola Potha, it's a good font for Windows Operating Systems created by Microsoft.

    Screen Shot 2015-03-10 at 6.58.21 PM.png

  • by Tom Gewecke,

    Tom Gewecke Tom Gewecke Mar 10, 2015 8:03 AM in response to devsmart
    Level 9 (78,979 points)
    Mar 10, 2015 8:03 AM in response to devsmart

    devsmart wrote:

     

    When I change font in /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.fra mework/Resources/DefaultFontFallbacks.plist it doesn't render, may be coz. of I'm using TTF font ?

     

     

     

     

    I don't think .ttf should cause a problem.  Make sure you are using the postscript name of the font, as shown by Fontbook > Preview > Font Info and have restarted.

     

    If you have time, it would be a good idea to let Apple know about those specific combinations which its Sinhala fonts are not rendering correctly, via

     

    http://www.apple.com/feedback

  • by devsmart,

    devsmart devsmart Mar 10, 2015 8:09 AM in response to Tom Gewecke
    Level 1 (0 points)
    Mar 10, 2015 8:09 AM in response to Tom Gewecke

    Thanks a lot.

  • by devsmart,

    devsmart devsmart Mar 10, 2015 8:17 AM in response to devsmart
    Level 1 (0 points)
    Mar 10, 2015 8:17 AM in response to devsmart

    It's same in iPhone and iPad as well, I guess they are using same font for all the devices.

     

    IMG_3496.PNG

    IMG_0119.PNG

  • by Tom Gewecke,

    Tom Gewecke Tom Gewecke Mar 10, 2015 8:40 AM in response to devsmart
    Level 9 (78,979 points)
    Mar 10, 2015 8:40 AM in response to devsmart

    devsmart wrote:

     

    It's same in iPhone and iPad as well, I guess they are using same font for all the devices.

     

     

     

     

    Yes, that is correct.  You can add fonts to iOS devices, but whether they will get used is uncertain.

  • by netman49,

    netman49 netman49 Mar 27, 2015 6:23 AM in response to devsmart
    Level 1 (0 points)
    Mar 27, 2015 6:23 AM in response to devsmart

    Hi DevSmart,

     

    You're aiming at the Sinhala "muurdhaja lu" symbol. Unfortunately both Mac OS X and iOS do not display this symbol properly.

    It's shows correctly however on Android devices :-)

     

    There is a "work around" for OS X and iOS, but it's absolutely not perfect.

    When you use this character in HTML files you can use the Bashita font (include it in your style sheet). This font displays the "muurdhaja lu" symbol correctly.

     

    That said, Apple must come with a proper solution, hopefully in the coming updates.  

  • by Tom Gewecke,

    Tom Gewecke Tom Gewecke Mar 27, 2015 8:12 AM in response to devsmart
    Level 9 (78,979 points)
    Mar 27, 2015 8:12 AM in response to devsmart

    devsmart wrote:

     

    Appriciate your help on change the default font on selected language to another one.

     

    I recently came across another way to change the system fonts, but I don't know if it will be helpful for this problem:

     

    http://m10lmac.blogspot.com/2015/03/replacing-os-x-user-interface-fonts.html

  • by netman49,

    netman49 netman49 Mar 27, 2015 1:41 PM in response to Tom Gewecke
    Level 1 (0 points)
    Mar 27, 2015 1:41 PM in response to Tom Gewecke

    Hi Tom,

     

    In my case I need a "web font" that I can include in the CSS of a web page, so all readers of the page (worldwide :-) get the correct Sinhala character.

    (without them having to install new fonts on their computer or mobile device).

     

    That's really a challenge with Sinhala :-)

  • by Tom Gewecke,

    Tom Gewecke Tom Gewecke Mar 27, 2015 2:56 PM in response to netman49
    Level 9 (78,979 points)
    Mar 27, 2015 2:56 PM in response to netman49

    netman49 wrote:

     

    In my case I need a "web font" that I can include in the CSS of a web page, so all readers of the page (worldwide :-) get the correct Sinhala character.

     

     

     

     

    Are the Noto fonts ok for web font use?  They cover Sinhala along with just about everything else.

     

    http://m10lmac.blogspot.com/2014/10/multilingual-font-collection.html

  • by netman49,

    netman49 netman49 Mar 28, 2015 12:23 AM in response to Tom Gewecke
    Level 1 (0 points)
    Mar 28, 2015 12:23 AM in response to Tom Gewecke

    I tried the Sinhala Noto font, but unfortunately it doesn't display all characters properly, at least not on OS X.

    The character DevSmart mentioned (muurdhaja lu) neither shows up correct.

    Have to search for another font (if it exists :-)