From: Kim W. <ki...@wo...> - 2007-05-19 18:57:51
|
Yasufumi Haga wrote: > Hi all > > I'm using the version 0.16.8.9-0.00 of e16 and "winter" theme, and trying > to customise the fonts used in e16. > > I'm editing $HOME/.e16/fonts.cfg.ja which I copied there from > /usr/local/share/e16/themes/winter/fonts.cfg.ja > to change the fonts. When I changed a font in the file, I followd the > description in docs/README-0.16.8 to specify a font, and used two of the > ways in it: > 1) "<font name>/<size>", e.g. "Vera/8" > 3) Fontconfig font names, e.g. "Luxi Sans-10:bold" > Now I noticed that how it looked in the first way was really different than > how it looked in the other way, though I used the same font in both ways. > For example, when I specify a font in the first way for the menu font in > "fonts.cfg.ja" like this: > font-menu "VL-PGothic-Regular/8" > the menu is shown like this: > http://homepage3.nifty.com/peterpan/x00/ss-strange.jpg > and using the other way for the menu font like this: > font-menu "VL PGothic-8:medium" > it's shown like this: > http://homepage3.nifty.com/peterpan/x00/ss-normal.jpg > What could make a difference between them? > > I used "VL-PGothic-Regular.ttf" font located at /usr/X11R6/lib/X11/fonts/TrueType > in this case, and fc-list command says the font is "VL PGothic,VL P$B%4%7%C%/(B:style=regular". > I added "/usr/X11R6/lib/X11/fonts/TrueType" to theme.ttfont_path in > $HOME/.e16/e_config--0.0.cfg file like: > theme.ttfont_path = /usr/X11R6/lib/X11/fonts/TrueType:/usr/share/fonts/alias/TrueType > to let e16 find the font. > The strangeness may be caused by a change in the imlib2 font stuff (after 1.4.0), which I just backed out. /Kim |