General TC > Tiny Core Netbooks

flwm font size in OLPC XO-1

(1/2) > >>

mavrothal:
I'm trying to get some bigger fonts for the flwm menu/window title on Tinycore - OCLP XO1, since they are _really_ small on the 7" 200dpi XO screen.

I compiled (tinycore 2.9 + compiletc + Xorg-7.4-dev) both flwm-1.14.tgz and flwm-1.13_topside.tgz  changing FONT_SIZE in  config.h to 14/16,  with no luck.
They both compile and install fine BTW (actually make is expecting to find install in /usr/local/bin but the symlink to busybox is in /usr/bin).

Is that the correct variable to change?
Do I need to look elsewhere/add something to get the menu/window title fonts to increase?
 
Thanks

mavrothal:
anyone?....

roberts:
Changing both TITLE_FONT_SIZE and MENU_FONT_SIZE from 12 to 14 worked for me:

--- Code: ---
// font for titles (if not set, helvetica bold is used):                     
// If this name is specific enough the font size is ignored.                 
#define TITLE_FONT "-*-helvetica-medium-r-normal--*"                         
#define TITLE_FONT_SIZE 14     

// font to use in menus (if not set helvetica is used):         
#define MENU_FONT "-*-helvetica-medium-r-normal--*"             
#define MENU_FONT_SIZE 14

--- End code ---

mavrothal:

--- Quote from: roberts on March 17, 2010, 07:30:32 AM ---Changing both TITLE_FONT_SIZE and MENU_FONT_SIZE from 12 to 14 worked for me:

--- End quote ---

Then I must be messing up in installing it.
How do you make it stick?

roberts:
Compile it. I placed a script in the directory named compileit.
./compileit

Navigation

[0] Message Index

[#] Next page

Go to full version