User forums > Using Code::Blocks
Exception on Change Editor Font
Sebastian1989101:
Hi Community,
i'am new on the Code::Blocks IDE and I have a question about the Mac OS X Version.. I know thats my english is very bad, excuse me about that.. everytime I've try to change the Font (explicit Font size) i got an unhandeld exception by the Program on Mac OS 10.6.. I need to change it becouse the font is very small on my MacBook for the Editor. I tryed the same on Windows 7 - thats work fine - but the Application Configuration files couldn't be copy to Mac.. I hope anyone can help becouse the small font is very strange to work ...
greets, Sebastian
Jenna:
It's a wxWidgets-bug.
I don't know at the moment whether a workaround exists or not.
Might depend on your wxWidgets version.
What you can try, is to backup your default.conf on Mac and edit it manually.
Inside the <editor> ... </editor> tags, there should be <FONT> section, that can be edited.
On newly created default.conf's it's most likely not there, but you can try to add it manually.
On my debian-system it looks like (default-settings after opening the font-choser and closing it):
--- Code: --- <FONT>
<str>
<![CDATA[Monospace 10]]>
</str>
</FONT>
--- End code ---
I don't know whether it's a valid font-description on Mac, but I think it might be a starting point.
(Obviously the 10 is the font-size in points.)
But as told at the beginning: please backup your default.conf (at least if you have made any important changes), because editing it manually can always lead to errors !
Sebastian1989101:
It's didn't work :(
The Editor ignore the font tags completly i've tryed the samle like on Windows (Font: Consolas) and i've tryed your string but nothing work the font is continue very small.
But this isn't the only bug on the IDE, many of my projects could not be build - no error, no resulution of the build progress. The output window told me something about Compiler Settings but I didn't found that:
""SomeApp - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping..." - this message I've got on Mac and Windows. But the Font Size on Mac is in my oppinion the bigger fail the work :o
Thanks for some help, and sorry for my english know how ^^
Sebastian1989101:
The build problem has been fixed. Maybe I should install any compiler before posting :oops:
But the Font Size Problem still alive on Mac OS 10.6 - did this work on a older version of Code::Blocks??
MY0613:
I also met this problem on Mac with ver.10.05.
have any work-round solution to change Editor Font Size?
Thanks for help.
Navigation
[0] Message Index
[#] Next page
Go to full version