LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-22-2004, 06:14 AM   #1
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
A font hint for GTK+ 2.0 apps


I imagine that this applies to few LFS users, but I had been struggling with fonts in the Japanese version of Openoffice 1.1.2. Basically they looked like うんち。Some of you may know what I mean. Well, I found the simple solution. At least it works on my system, and I don't recall doing anything spectacular that is above and beyond what was written in LFS5. From the xfree86 website:

For applications based on GTK+ 2.0 (including GNOME 2 applications), the environment variable `GDK_USE_XFT' should be set to `1':

$ export GDK_USE_XFT=1

So what I did was make an alias in my .bashrc file...

alias soffice='GDK_USE_XFT=1 soffice'

and now my fonts look something like what I would expect them to. This is a total relief. I never use windows though it's on my box, and Ive been trying to write up my resume in Japanese. Now it is finally doable!

I rock.

...and so do you (as long as you have chosen LFS ).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ugly Truetype font in GTK apps kvzrock Linux - General 0 02-08-2004 10:35 PM
How to change awfull font in GTK apps? drenal Programming 1 02-07-2004 07:49 AM
gtk apps kvd Linux - Software 5 07-27-2003 06:26 PM
changing the font-size of menus of GTK 2 apps running under KDE 3.1 melquiades Linux - Software 1 07-05-2003 01:17 PM
Can't see Helvetica font in GTK+ apps. (slack9) aaron_n Slackware 5 04-17-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration