NO

Author Topic: Font Setting  (Read 7203 times)

wxy

  • Guest
Font Setting
« on: March 14, 2014, 09:34:10 AM »
I can't setting the font in source editor as Consolas or so on.
There are a drop list in Tools -> Options -> Source -> Font .
But the fonts in the list is very few....
Have there any method to solve this problem? (Pelles C7.0, Win7 SP1, Chinese Language)
(sorry for my english)

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2113
Re: Font Setting
« Reply #1 on: March 14, 2014, 12:58:48 PM »
你好
The IDE lists all the fonts it can find in the system, doesn't installany font by itself.
If you dont'see all the fonts you have (consolas font is installed ?) it could be an installation problem.
Try to remove PellesC and reinstall it.
« Last Edit: March 14, 2014, 01:00:25 PM by frankie »
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: Font Setting
« Reply #2 on: March 16, 2014, 12:11:09 PM »
This is a problem with the Chinese regional settings, if I remember correctly.

Search for Consolas, since there was a discussion about it a few weeks ago.
---
Stefan

Proud member of the UltraDefrag Development Team

LD Blake

  • Guest
Re: Font Setting
« Reply #3 on: March 17, 2014, 07:42:58 PM »
I can't setting the font in source editor as Consolas or so on.
There are a drop list in Tools -> Options -> Source -> Font .
But the fonts in the list is very few....
Have there any method to solve this problem? (Pelles C7.0, Win7 SP1, Chinese Language)
(sorry for my english)

Do you even have the consolas font on your system?
 
Go to Control Panel -> Fonts ... is it there and can you successfully preview it?
 
POIDE's settings generally list all fonts on your system, marking the fixed pitch ones with yellow circles. If it is in your fonts folder but not showing up in Setup, it may be a regional settings issue... you can try temporarily setting your desktop location to the United States....
 
 

wxy

  • Guest
Re: Font Setting
« Reply #4 on: May 15, 2014, 05:39:37 AM »
Thank you, I tried it but failed...

I can't setting the font in source editor as Consolas or so on.
There are a drop list in Tools -> Options -> Source -> Font .
But the fonts in the list is very few....
Have there any method to solve this problem? (Pelles C7.0, Win7 SP1, Chinese Language)
(sorry for my english)

Do you even have the consolas font on your system?
 
Go to Control Panel -> Fonts ... is it there and can you successfully preview it?
 
POIDE's settings generally list all fonts on your system, marking the fixed pitch ones with yellow circles. If it is in your fonts folder but not showing up in Setup, it may be a regional settings issue... you can try temporarily setting your desktop location to the United States....

Offline larryli

  • Member
  • *
  • Posts: 11
Re: Font Setting
« Reply #5 on: April 15, 2023, 06:19:27 AM »
Because the IDE limits the supported locale of the font, so we must use the hybrid fonts such as YaHei Consolas Hybrid(https://github.com/yakumioto/YaHei-Consolas-Hybrid-1.12) on Chinese system.

Code: [Select]
    /* The font must have at least one of the supported locales */
    if ((pntm->ntmFontSig.fsCsb[0] & pls->lsCsbSupported[0]) == 0 &&
        (pntm->ntmFontSig.fsCsb[1] & pls->lsCsbSupported[1]) == 0)
        return 1;


Offline John Z

  • Member
  • *
  • Posts: 860
Re: Font Setting
« Reply #6 on: April 15, 2023, 02:35:03 PM »
Not sure what you mean by the IDE limits the fonts, on my installation I see many fonts only
limited by what has been installed on the system.  In addition there is unicode.  I've on occasion
switch my locale to Chinese to test a multilingual program - worked ok.

You might try SimSun-ExtB for Chinese plus Latin characters.

Maybe someone with more experience can help  :)

John Z