Author Topic: How to change font size in Editor ?  (Read 90449 times)

Offline ptyxs

  • Single posting newcomer
  • *
  • Posts: 4
How to change font size in Editor ?
« on: September 18, 2008, 11:16:24 am »
I am a quite new user (running C::B on a Mandriva Linux 2008.0).
I find that the characters size in the Editor zone is quite small. Is it possible to change it ??

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How to change font size in Editor ?
« Reply #1 on: September 18, 2008, 11:27:31 am »
I am a quite new user (running C::B on a Mandriva Linux 2008.0).
I find that the characters size in the Editor zone is quite small. Is it possible to change it ??


In "Settings -> Editor... -> General Settings" click "Choose".
It's the button in the top-right corner.

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: How to change font size in Editor ?
« Reply #2 on: September 18, 2008, 11:37:48 am »
At least on window, you can also use Ctrl+scroll to zoom in or out. It is provided by scintilla but does not change the font size.

Dje

Offline ptyxs

  • Single posting newcomer
  • *
  • Posts: 4
Re: How to change font size in Editor ?
« Reply #3 on: September 18, 2008, 11:42:56 am »
Both hints work fine. Thanks !

Offline ramS

  • Single posting newcomer
  • *
  • Posts: 9
Re: How to change font size in Editor ?
« Reply #4 on: September 19, 2008, 03:21:01 pm »
Does ctrl+CapsLock also does the zoom out? I had accidentally pressed ctrl+capslocak and the text in my editor window become small. Didnot know how to get it back to original. Is there a keyboard shortcut to back out? ie. zoom in?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: How to change font size in Editor ?
« Reply #5 on: September 22, 2008, 09:43:44 am »
Is there a keyboard shortcut to back out? ie. zoom in?
CTRL + mouse wheel up/down.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Pchief

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: How to change font size in Editor ?
« Reply #6 on: September 20, 2020, 03:43:23 pm »
I know this method, but...
I have just too many fonts installed in my system such that mere loading the font dialog would crash C::B.
Is there a way to change the font by editing C::B configuration files?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to change font size in Editor ?
« Reply #7 on: September 20, 2020, 05:05:58 pm »
What do you mean by too many? What OS are you running?
You can edit the default.conf file, but it is not recommended.
It is better to report the problem properly and someone to try to fix it.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Pchief

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: How to change font size in Editor ?
« Reply #8 on: September 21, 2020, 02:28:45 am »
I am on Windows 7 (64-bit) and uses the latest nightly build (svn 12198) of C::B.

There are 2,520 files in my C:\Windows\Fonts totaling up to 12GB+ in size. Whenever I push the "choose" button the system font dialog appears but freezes immediately (possibly due to enumerating so many fonts), and then C::B crashes soon.

Below is the codeblocks.RPT of my most recent crash:
Code
-------------------

Error occurred on Monday, September 21, 2020 at 08:01:12.

codeblocks.exe caused an Access Violation at location 000007FEF26A8B43 in module fms.dll Reading from location 000000000C29FFAE.

AddrPC           Params
000007FEF26A8B43 000000000B2336C0 000007FEF26B0C77 000000000B2336C0  fms.dll!FmsFreeEnumerator
000007FEF26A4862 000000000B2A1820 0000000000000001 000000000B2336C0  fms.dll!0x7fe00004862
000007FEF26A153B 0000000000000000 00000000000001A5 000000000B1A8ED0  fms.dll!0x7fe0000153b
000007FEF26A7688 0000000000000000 000000000022B860 000000000022B864  fms.dll!FmsGetFilteredFontList
000007FEF26A9421 00000000030701A5 0000000000000000 000000000A245978  fms.dll!FmsGetFilteredPropertyList
000007FEFDB52B7A 000000000000A000 0000000000000001 0000000000000000  comdlg32.dll!ChooseFontW
000007FEFDB52986 0000000000010CF2 0000000000000148 000000000A245978  comdlg32.dll!ChooseFontW
000007FEFDB52921 0000000000000001 0000000000000001 000000000A245970  comdlg32.dll!ChooseFontW
000007FEFDB4F15E 0000000001010FB4 0000000000000007 000000000022CF30  comdlg32.dll!Ordinal100
000007FEFDB4EED1 0000000000000008 0000000000000134 0000000001010FB4  comdlg32.dll!PrintDlgExW
000000007761783B 000000000000002B 000007FEFDB4EF7C 0000000000B864F0  USER32.dll!CreateDialogParamW
000000007761760E 0000000000000000 000000000000002B FFFFFFFFFFFA1370  USER32.dll!CreateDialogParamW
0000000077620154 0000000000010CEE 000000000000002B 0000000000000470  USER32.dll!UserHandleGrantAccess
0000000077606A5D 0000000000000000 000000000000002B 0000000000010CF4  USER32.dll!SendMessageW
000007FEFBBC01C6 0000000001F416D0 0000000000000000 0000000000CC0020  COMCTL32.dll!TaskDialog
0000000077609AC1 0000000000B86780 000007FEFBBBF8F4 00000000FFFFFDEB  USER32.dll!TranslateMessageEx
000000007760694C 0000000000010CF2 000000000000002B 00000000000003E8  USER32.dll!SetTimer
0000000077606A5D 0000000000000001 000000000A1C1CF0 0000000000000000  USER32.dll!SendMessageW
000007FEFBBD56C7 000000000A1C1CF0 000000000A1C1CF0 0000000000000000  COMCTL32.dll!TaskDialog
000007FEFBBD34C4 000000AC00000000 00000000000000A1 0000000000000000  COMCTL32.dll!TaskDialog
000007FEFBBBB194 0000000000B864F0 0000000000000000 0000000000000000  COMCTL32.dll!TaskDialog
0000000077609AC1 0000000000000000 000007FEFBBBAE38 0000000000000000  USER32.dll!TranslateMessageEx
000000007760718B 0000000000000001 0000000000000000 0000000000B864F0  USER32.dll!SetWindowTextW
00000000776066D9 0000000000000001 000000007775B4EF 0000000000000000  USER32.dll!IsDialogMessageW
000000007775B4EF 0000000077602692 000000E100000117 0000020B000001AF  ntdll.dll!KiUserCallbackDispatcher
0000000077603BDA 000000E100000117 0000020B000001AF 0000000000001857  USER32.dll!SetWindowPos
0000000077602692 00000000000703CA 00000000000703CA 000000006C2425C0  USER32.dll!UpdateWindow
0000000077613256 00000000000703CA 000007FEFDB4EF7C 0000000000000001  USER32.dll!UnpackDDElParam
0000000077614D61 00000000031D0558 00000000000703CA 000007FEFDB4EF7C  USER32.dll!GetComboBoxInfo
0000000077614DD6 0000000000000000 00000000031D0558 0000000000000000  USER32.dll!DialogBoxIndirectParamAorW
0000000077614E0C 0000000000000000 0000000000000000 0000000000000000  USER32.dll!DialogBoxIndirectParamW
000007FEFDB4FA14 0000000000000000 0000800000000008 000000000022D110  comdlg32.dll!ChooseFontW
000007FEFDB4F728 0000000002517220 000000000022CFA4 000000006C12C822  comdlg32.dll!ChooseFontW
000000006C476AD5 000000000022D2F0 0000000000000001 000000000022D700  wxmsw313u_gcc_cb.dll!wxFontDialog::ShowModal
0000000000439680 000000000022EED0 0000000077617801 000000000043DCC2  codeblocks.exe!0x39680
000000000043DCE0 000000000022EED0 000000000022DD00 000000000307CAA0  codeblocks.exe!0x3dce0
000000006C103194 0000000000000000 00000000776074CE 0000000000000000  wxmsw313u_gcc_cb.dll!wxAppConsoleBase::CallEventHandler
000000006C260372 0000000003071894 0000000003071844 0000000000000000  wxmsw313u_gcc_cb.dll!wxEvtHandler::ProcessEventIfMatchesId
000000006C260537 000000000022EED0 0000000003071908 00000000030718BC  wxmsw313u_gcc_cb.dll!wxEventHashTable::HandleEvent
000000006C260B8D 0000000000000111 0000000000000000 0000000000010706  wxmsw313u_gcc_cb.dll!wxEvtHandler::TryHereOnly
000000006C260BFD 0000000006A7FB60 000000000022DD00 0000000006A7DFD0  wxmsw313u_gcc_cb.dll!wxEvtHandler::ProcessEventLocally
000000006C260CE1 0000000006BFB240 000000000022DD00 0000000006BFB4B0  wxmsw313u_gcc_cb.dll!wxEvtHandler::ProcessEvent
000000006C5A7D88 0000000006A7DFD0 000000000022DD00 0000000006BF7450  wxmsw313u_gcc_cb.dll!wxWindowBase::TryAfter
000000006C5A7D88 0000000006BFB4B0 000000000022DD00 0000000006DBB100  wxmsw313u_gcc_cb.dll!wxWindowBase::TryAfter
000000006C5A7D88 0000000006BF7450 000000000022DD00 0000000000000000  wxmsw313u_gcc_cb.dll!wxWindowBase::TryAfter
000000006C5A7D88 0000000006DBB100 000000000022DD00 00000000FFFF8435  wxmsw313u_gcc_cb.dll!wxWindowBase::TryAfter
000000006C5A7D88 00000000003DFA40 0000000000000001 0000000000000000  wxmsw313u_gcc_cb.dll!wxWindowBase::TryAfter
000000006C5A7D88 0000000000000215 0000000000000000 000000000001070A  wxmsw313u_gcc_cb.dll!wxWindowBase::TryAfter
000000006C26296B 0180000900000000 0000000000000000 0000000000746460  wxmsw313u_gcc_cb.dll!wxEvtHandler::SafelyProcessEvent
000000006C3A9EEC 0000000000000215 00000000776095EF 0000000000000000  wxmsw313u_gcc_cb.dll!wxButton::SendClickEvent
000000006C365637 0000000000000000 0000000000000000 0000000000000000  wxmsw313u_gcc_cb.dll!wxWindow::HandleCommand
000000006C370158 0000000006DBB100 0000000000000215 0000000006DBB100  wxmsw313u_gcc_cb.dll!wxWindow::MSWHandleMessage
000000006C36042C 0000000000000000 0000000000000001 0000000000000215  wxmsw313u_gcc_cb.dll!wxWindow::MSWWindowProc
000000006C437400 0000000000000070 FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF  wxmsw313u_gcc_cb.dll!wxStaticBox::MSWWindowProc
0000000077609AC1 0000000000B3F3E0 000000006C3681C0 00000000FFFFFED1  USER32.dll!TranslateMessageEx
000000007760694C 0000000000010706 0000000000000111 0000000000008435  USER32.dll!SetTimer
0000000077606A5D 000000000A1BDED0 0000000000000001 0000000000000000  USER32.dll!SendMessageW
000007FEFBBB0BE3 000000000001070A 0000000000000001 000000000A1BDED0  COMCTL32.dll!TaskDialog
000007FEFBBB4822 000000000022E7E0 000000000022E5A0 0000000000000000  COMCTL32.dll!TaskDialog
0000000077609AC1 000000000001070A 000007FEFBBB3B44 0000000000000202  USER32.dll!TranslateMessageEx
0000000077603AD4 0000000006DBB100 000000000006001B 0000000000000202  USER32.dll!CallWindowProcW
0000000077603A50 0000000006C42460 000000000000000F 000000000B101FE0  USER32.dll!CallWindowProcW
000000006C36629F 000000000B175190 000007FEFD2810DC 0000000000000009  wxmsw313u_gcc_cb.dll!wxWindow::MSWDefWindowProc
000000006C360454 0000000000000000 0000000000000000 0000000000000000  wxmsw313u_gcc_cb.dll!wxWindow::MSWWindowProc
000000006C39D51F 0000000000000000 0000000000000000 0000000000000000  wxmsw313u_gcc_cb.dll!wxAnyButton::MSWWindowProc
0000000077609AC1 000000000022EB90 000000006C3681C0 0000000000B3D6A0  USER32.dll!TranslateMessageEx
00000000776097DE 0000000000000000 0000000000000000 000000006C3681C0  USER32.dll!TranslateMessage
0000000077606672 0000000006BF7450 0000000077607DF2 00000000FFFFFFEC  USER32.dll!IsDialogMessageW
000000006C362D3B 0000000006F8C270 0000000000000000 0000000000000001  wxmsw313u_gcc_cb.dll!wxWindow::MSWSafeIsDialogMessage
000000006C362F89 0000000000000000 000000006C26296B 0000000000000000  wxmsw313u_gcc_cb.dll!wxWindow::MSWProcessMessage
000000006C38F76A 0000000006ED4030 0000000000000000 000000000022EBB0  wxmsw313u_gcc_cb.dll!wxGUIEventLoop::PreProcessMessage
000000006C38F631 0000000000746460 000000006C10554F 0000000006E79F90  wxmsw313u_gcc_cb.dll!wxGUIEventLoop::ProcessMessage
000000006C38F441 0000000006F8C250 0000000000010001 0000000006F8C250  wxmsw313u_gcc_cb.dll!wxGUIEventLoop::Dispatch
000000006C1375A3 0000000006F8C250 0000000077606A5D 00000000000703CA  wxmsw313u_gcc_cb.dll!wxEventLoopManual::ProcessEvents
000000006C137671 0000000000746460 0000000006F8C250 000000000B175150  wxmsw313u_gcc_cb.dll!wxEventLoopManual::DoRun
000000006C137309 000000000022EED0 0000000000000000 0000000000000000  wxmsw313u_gcc_cb.dll!wxEventLoopBase::Run
000000006C3BB221 000000000022EED0 0000000000000001 0000000000000000  wxmsw313u_gcc_cb.dll!wxDialog::ShowModal
000000000047E5EE 0000000002C0AED0 000000000022F640 0000000000000070  codeblocks.exe!0x7e5ee
000000006C103194 0000000000000000 000000006C3681C0 0000000000000000  wxmsw313u_gcc_cb.dll!wxAppConsoleBase::CallEventHandler
000000006C260372 0000000002C0FB80 0000000000000001 0000000000000000  wxmsw313u_gcc_cb.dll!wxEvtHandler::ProcessEventIfMatchesId
000000006C260537 0000000002C0AED0 000000007775B4EF 0000000000000020  wxmsw313u_gcc_cb.dll!wxEventHashTable::HandleEvent
000000006C260B8D 0000000000000111 0000000000000000 00000000000203E6  wxmsw313u_gcc_cb.dll!wxEvtHandler::TryHereOnly
000000006C260613 0000000002DB8380 000000000022F640 0000000002DBAFD0  wxmsw313u_gcc_cb.dll!wxEvtHandler::DoTryChain
000000006C260CE1 0000000000000001 0000000000000000 0000000000000007  wxmsw313u_gcc_cb.dll!wxEvtHandler::ProcessEvent
000000006C5A7D88 0000000000000102 0000000000000000 0000000000000048  wxmsw313u_gcc_cb.dll!wxWindowBase::TryAfter
000000006C26296B 0000000000000000 0000000000000000 0000000000000000  wxmsw313u_gcc_cb.dll!wxEvtHandler::SafelyProcessEvent
000000006C54C770 0000000006D2C060 000000006C54C4C4 0000000000000000  wxmsw313u_gcc_cb.dll!wxMenuBase::DoProcessEvent
000000006C54C88A 0000000000000005 000000007760476E 0000000000000005  wxmsw313u_gcc_cb.dll!wxMenuBase::SendEvent
000000006C3CDA1A 000000000000004D 0000000000000000 0000000077746A08  wxmsw313u_gcc_cb.dll!wxFrame::HandleCommand
000000006C3CF88F 0000000000000001 00000000775FF467 000000000022F988  wxmsw313u_gcc_cb.dll!wxFrame::MSWWindowProc
0000000077609AC1 000000000022FA10 000000006C3681C0 000000000022FA10  USER32.dll!TranslateMessageEx
00000000776097DE 0000000000746460 0000000006E9BAF0 000000006C3681C0  USER32.dll!TranslateMessage
000000006C38F441 0000000006E9BAF0 0000000000000111 0000000000008410  wxmsw313u_gcc_cb.dll!wxGUIEventLoop::Dispatch
000000006C1375A3 0000000006E9BAF0 000007FEFF2F13D2 0000000000000002  wxmsw313u_gcc_cb.dll!wxEventLoopManual::ProcessEvents
000000006C137671 0000000000746460 0000000006E9BAF0 0000000000000008  wxmsw313u_gcc_cb.dll!wxEventLoopManual::DoRun
000000006C137309 0000000006E93670 000000020000001C 0000000006E9BAF0  wxmsw313u_gcc_cb.dll!wxEventLoopBase::Run
000000006C107F1A 0000000000000070 0000000000000037 000000000022FD30  wxmsw313u_gcc_cb.dll!wxAppConsoleBase::MainLoop
0000000000405812 0000000000746460 000000006C26D6BB 000000000070ABA0  codeblocks.exe!0x5812
000000006C17FBD5 0000000000000008 0000000000000038 000000000070ABA0  wxmsw313u_gcc_cb.dll!wxEntryReal
0000000000402565 0000000000400000 0000000000000000 00000000003034C9  codeblocks.exe!0x2565
00000000004013C7 0000000000000000 0000000000000000 0000000000000000  codeblocks.exe!0x13c7
00000000004014CB 0000000000000000 0000000000000000 0000000000000000  codeblocks.exe!0x14cb
00000000774E556D 0000000000000000 0000000000000000 0000000000000000  kernel32.dll!BaseThreadInitThunk
000000007774372D 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart

codeblocks.exe 20.3.0.0
ntdll.dll    6.1.7601.24545
kernel32.dll 6.1.7601.24545
KERNELBASE.dll 6.1.7601.24545
COMCTL32.dll 6.10.7601.24483
msvcrt.dll  7.0.7601.17744
GDI32.dll    6.1.7601.24540
USER32.dll  6.1.7601.24545
LPK.dll      6.1.7601.24537
USP10.dll    1.626.7601.24535
SHLWAPI.dll 6.1.7601.17514
libgcc_s_seh-1.dll
libwinpthread-1.dll 1.0.0.0
SHELL32.dll 6.1.7601.24468
SHFOLDER.dll 6.1.7600.16385
libstdc++-6.dll
codeblocks.dll
wxmsw313u_gcc_cb.dll 3.1.3.0
ADVAPI32.dll 6.1.7601.24545
sechost.dll 6.1.7600.16385
RPCRT4.dll  6.1.7601.24545
comdlg32.dll 6.1.7601.17514
ole32.dll    6.1.7601.24537
OLEACC.dll  7.0.0.0
OLEAUT32.dll 6.1.7601.24537
UxTheme.dll 6.1.7600.16385
VERSION.dll 6.1.7600.16385
WINMM.dll    6.1.7600.16385
WINSPOOL.DRV 6.1.7601.24383
WSOCK32.dll 6.1.7600.16385
WS2_32.dll  6.1.7601.23451
NSI.dll      6.1.7601.23889
exchndl.dll 0.9.1.0
mgwhelp.dll 0.9.1.0
dbghelp.dll 10.0.17134.12
api-ms-win-crt-string-l1-1-0.dll 10.0.14393.2990
ucrtbase.DLL 10.0.14393.2990
api-ms-win-core-timezone-l1-1-0.dll 10.0.14393.2990
api-ms-win-core-file-l2-1-0.dll 10.0.14393.2990
api-ms-win-core-localization-l1-2-0.dll 10.0.14393.2990
api-ms-win-core-synch-l1-2-0.dll 10.0.14393.2990
api-ms-win-core-processthreads-l1-1-1.dll 10.0.14393.2990
api-ms-win-core-file-l1-2-0.dll 10.0.14393.2990
api-ms-win-crt-time-l1-1-0.dll 10.0.14393.2990
api-ms-win-crt-runtime-l1-1-0.dll 10.0.14393.2990
api-ms-win-crt-private-l1-1-0.dll 10.0.14393.2990
dbgcore.DLL 10.0.17134.12
PSAPI.DLL    6.1.7600.16385
IMM32.DLL    6.1.7600.16385
MSCTF.dll    6.1.7601.24520
CRYPTSP.dll 6.1.7601.24499
rsaenh.dll  6.1.7600.16385
CRYPTBASE.dll 6.1.7601.24545
SspiCli.dll 6.1.7601.24545
RpcRtRemote.dll 6.1.7601.17514
CLBCatQ.DLL 2001.12.8530.16385
WindowsCodecs.dll 6.2.9200.22551
apphelp.dll 6.1.7601.17514
EhStorShell.dll 6.1.7600.16385
SETUPAPI.dll 6.1.7601.17514
CFGMGR32.dll 6.1.7601.17514
DEVOBJ.dll  6.1.7600.16385
PROPSYS.dll 7.0.7601.17514
cscui.dll    6.1.7601.17514
CSCDLL.dll  6.1.7601.24197
CSCAPI.dll  6.1.7601.24197
ntshrui.dll 6.1.7601.17514
srvcli.dll  6.1.7601.17514
slc.dll      6.1.7600.16385
msftedit.DLL 5.41.21.2510
abbreviations.dll
astyle.dll
autosave.dll
AutoVersioning.dll
BrowseTracker.dll
byogames.dll
cb_koders.dll
Cccc.dll
classwizard.dll
codecompletion.dll
codesnippets.dll
codestat.dll
compiler.dll
copystrings.dll
CppCheck.dll
Cscope.dll
debugger.dll
defaultmimehandler.dll
devpakupdater.dll
DoxyBlocks.dll 1.7.663.8397
DragScroll.dll
EditorConfig.dll
EditorTweaks.dll
envvars.dll
Exporter.dll
FileManager.dll
FortranProject.dll
headerfixup.dll
headerguard.dll
help_plugin.dll
HHCTRL.OCX  6.1.7601.24134
HexEditor.dll
IncrementalSearch.dll
keybinder.dll
lib_finder.dll
wxflatnotebook.dll
loghacker.dll
ModPoller.dll
MouseSap.dll
NassiShneiderman.dll
OccurrencesHighlighting.dll
openfileslist.dll
Profiler.dll
ProjectOptionsManipulator.dll
projectsimporter.dll
RegExTestbed.dll
ReopenEditor.dll
rndgen.dll
scriptedwizard.dll
SmartIndentCpp.dll
SmartIndentFortran.dll
SmartIndentHDL.dll
SmartIndentLua.dll
SmartIndentPascal.dll
SmartIndentPython.dll
SmartIndentXML.dll
SpellChecker.dll
SymTab.dll
ThreadSearch.dll
wxcustombutton.dll
tidycmt.dll
todo.dll
ToolsPlus.dll
wxsmith.dll
wxsmithlib.dll
wxSmithAui.dll
wxSmithContribItems.dll
wxchartctrl.dll
wxdatetimepicker.dll
wximagepanel.dll
wxkwic.dll
wxled.dll
wxmathplot.dll
wxspeedbutton.dll
xpmanifest.dll
tiptsf.dll  6.1.7601.18984
msimg32.dll 6.1.7601.24535
profapi.dll 6.1.7600.16385
fms.dll      1.1.6000.16384
symsrv.dll  10.0.17134.12
CRYPT32.dll 6.1.7601.24542
MSASN1.dll  6.1.7601.17514
WININET.dll 11.0.9600.19597
api-ms-win-downlevel-user32-l1-1-0.dll 6.2.9200.16492
api-ms-win-downlevel-shlwapi-l1-1-0.dll 6.2.9200.16492
api-ms-win-downlevel-version-l1-1-0.dll 6.2.9200.16492
api-ms-win-downlevel-normaliz-l1-1-0.dll 6.2.9200.16492
normaliz.DLL 6.1.7600.16385
iertutil.dll 11.0.9600.19597
api-ms-win-downlevel-advapi32-l1-1-0.dll 6.2.9200.16492
USERENV.dll 6.1.7601.24535
Secur32.dll 6.1.7601.24545
api-ms-win-downlevel-advapi32-l2-1-0.dll 6.2.9200.16492
api-ms-win-downlevel-ole32-l1-1-0.dll 6.2.9200.16492
mswsock.dll 6.1.7601.23451
IPHLPAPI.DLL 6.1.7601.17514
WINNSI.DLL  6.1.7601.23889
wship6.dll  6.1.7600.16385
api-ms-win-downlevel-shlwapi-l2-1-0.dll 6.2.9200.16492
DNSAPI.dll  6.1.7601.24168
urlmon.dll  11.0.9600.19597
wshtcpip.dll 6.1.7600.16385
fwpuclnt.dll 6.1.7601.24000
rasadhlp.dll 6.1.7600.16385
jsproxy.dll 11.0.9600.19597
jscript.dll 5.8.9600.19597
NLAapi.dll  6.1.7601.24000
credssp.dll 6.1.7601.24545
schannel.DLL 6.1.7601.24545

Windows 6.1.7601
DrMingw 0.9.1



And I checked the default.conf file but have no clue to what to edit to make the change.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to change font size in Editor ?
« Reply #9 on: September 21, 2020, 02:56:41 pm »
Are you able to select the font in other applications?
What happens if you find the font wx sample (probably you'll have to build it) and test it? Would it work?
As far as I know people in your situation use font manager application - they enable the fonts they need when they need them or do the font selection in a separate app and after they've selected a font they like they copy it to the system folder.

I guess you have to search for something like this?
Code
		<FONT>
<str>
<![CDATA[Fira Code 9]]>
</str>
</FONT>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Pchief

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: How to change font size in Editor ?
« Reply #10 on: September 21, 2020, 06:58:07 pm »
Quote
Are you able to select the font in other applications?
Yes, I managed to load the font selection dialog in the system's Notepad.exe.


Quote
What happens if you find the font wx sample (probably you'll have to build it) and test it? Would it work?
Sorry but I don't know what the "font wx sample" is (e.g.where to obtain it).


Also, There wasn't a <FONT></FONT> section in my default.conf file, and trying to insert such a section such as
Code
        ......
<editor>
<FONT>
<str>
<![CDATA[Courier New 10]]>
</str>
</FONT>
<colour_sets>
<default />
</colour_sets>
<caret />
<gutter />
<margin />
<selection />
<eol />
<folding />
               .......
results in further errors (see the attached pic).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to change font size in Editor ?
« Reply #11 on: September 21, 2020, 08:12:36 pm »
Does selecting the font work in notepad++ or codelite (it uses the same technology as codeblocks, so it should fail similarly if it is not a cb problem)?

I can't help with the correct font string. Generally it is not something users are supposed to edit by hand.
The sample is here https://github.com/wxWidgets/wxWidgets/tree/master/samples/font
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: How to change font size in Editor ?
« Reply #12 on: September 21, 2020, 09:16:26 pm »
This is my font data (MSW)

Code
		<FONT>
<str>
<![CDATA[1;10.2;-17;0;0;0;400;0;0;0;0;3;2;1;49;Fira Code]]>
</str>
</FONT>

The string is generated with this code called from wxFont::GetNativeFontInfoDesc()

Code
s.Printf(wxT("%d;%s;%d;%d;%d;%d;%d;%s;%d"),
             1,                                 // version
             wxString::FromCDouble(GetFractionalPointSize()),
             family,
             (int)style,
             weight,
             underlined,
             strikethrough,
             faceName.GetData(),
             (int)encoding);

Offline Pchief

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: How to change font size in Editor ?
« Reply #13 on: September 22, 2020, 04:40:17 pm »
Here comes my test result:
wx font sample(latest git clone): crashes when clicking on menu select -> select font, due to failure of the same module fms.dll (the font selection dialog does not even show up)

codelite 13.0.0 : successfully loads the font dialog


Notepad++ (as well as most apps I use, by the way) do not call the system's font dialog. Instead, they either offer a drop-down style combo box for font choosing or allow direct editing of the config files (e.g. SciTE) to specify fonts.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to change font size in Editor ?
« Reply #14 on: September 22, 2020, 07:24:47 pm »
Can you report this to wxWidgets developers?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]