WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: flwm font size in OLPC XO-1  (Read 7522 times)

Offline mavrothal

  • Newbie
  • *
  • Posts: 43
flwm font size in OLPC XO-1
« on: March 13, 2010, 08: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
« Last Edit: March 13, 2010, 08:48:53 AM by mavrothal »

Offline mavrothal

  • Newbie
  • *
  • Posts: 43
Re: flwm font size in OLPC XO-1
« Reply #1 on: March 17, 2010, 08:55:20 AM »
anyone?....

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: flwm font size in OLPC XO-1
« Reply #2 on: March 17, 2010, 10: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
10+ Years Contributing to Linux Open Source Projects.

Offline mavrothal

  • Newbie
  • *
  • Posts: 43
Re: flwm font size in OLPC XO-1
« Reply #3 on: March 17, 2010, 11: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?

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: flwm font size in OLPC XO-1
« Reply #4 on: March 17, 2010, 12:24:00 PM »
Compile it. I placed a script in the directory named compileit.
./compileit
10+ Years Contributing to Linux Open Source Projects.

Offline mavrothal

  • Newbie
  • *
  • Posts: 43
Re: flwm font size in OLPC XO-1
« Reply #5 on: March 18, 2010, 04: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

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: flwm font size in OLPC XO-1
« Reply #6 on: March 18, 2010, 10: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.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: flwm font size in OLPC XO-1
« Reply #7 on: March 18, 2010, 10: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.
10+ Years Contributing to Linux Open Source Projects.