Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

CodeBlocks and Fira Code issues

<< < (3/7) > >>

Miguel Gimenez:
Tested annotations in STC sample and more tests in C::B. The problem is not he font but the Direct Write activation:

- STC: I can't change the font, but the popup has a font slightly smaller than the main text
- C::B without Direct Write (default mode): the font size seems identical to the editor one. No text truncation
- C::B with Direct Write: the popup font is noticeably bigger that the editor one and the text is ellipsized.

I have attached three screen captures in one file.

EDIT: the two C::B tests are made with Courier New size 10.

oBFusCATed:

--- Quote from: Miguel Gimenez on May 30, 2019, 08:47:58 pm ---- STC: I can't change the font, but the popup has a font slightly smaller than the main text

--- End quote ---
You can change the font using code. Make sure it is the same in both applications.

Miguel Gimenez:
Changed the font in STC sample forcing Courier New size 10, no visual changes.

oBFusCATed:
There is an array with styles are you sure you've changed the font for all styles?

Miguel Gimenez:
I changed the font in three places, one was in a loop for all styles. Anyway the original font seems to be Courier New 10, as the aspect doesn't change (it did change when I wrote "CourierNew" for family name instead of "Courier New").

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version