Tiny Core Linux

General TC => Tiny Core Netbooks => Topic started by: mavrothal on March 13, 2010, 05:45:02 AM

Title: flwm font size in OLPC XO-1
Post by: mavrothal on March 13, 2010, 05:45:02 AM
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
Title: Re: flwm font size in OLPC XO-1
Post by: mavrothal on March 17, 2010, 05:55:20 AM
anyone?....
Title: Re: flwm font size in OLPC XO-1
Post by: 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:
Code: [Select]

// 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
Title: Re: flwm font size in OLPC XO-1
Post by: mavrothal on March 17, 2010, 08:37:11 AM
Changing both TITLE_FONT_SIZE and MENU_FONT_SIZE from 12 to 14 worked for me:

Then I must be messing up in installing it.
How do you make it stick?
Title: Re: flwm font size in OLPC XO-1
Post by: roberts on March 17, 2010, 09:24:00 AM
Compile it. I placed a script in the directory named compileit.
./compileit
Title: Re: flwm font size in OLPC XO-1
Post by: mavrothal on March 18, 2010, 01:16:08 AM
Compile it. I placed a script in the directory named compileit.
./compileit
Thank you.
Compiling was not the major problem. The problem was to realize that the compiled flwm and /usr/bin/flwm_topside is the same thing... ;D
Title: Re: flwm font size in OLPC XO-1
Post by: roberts on March 18, 2010, 07:28:20 AM
Ah yes. The output of compilation is always flwm.
Since we have fans of classic left side as well as topside, it is renamed when topside is desired.
Title: Re: flwm font size in OLPC XO-1
Post by: roberts on March 18, 2010, 07:33:40 AM
After observing some users struggle with the "missing" minimize (iconize) feature I have just made a change for topside. I made a new button for iconized, the more traditional _, and moved it to the more traditional location on the right next to existing buttons.