ave There is this new truetype font Bitstream Vera, which looks very nice IMHO. Example: http://www.bitstream.com/categories/products/fonts/vera/ Download: http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ Is it possible to use it in Dillo? I tried to add this in the dillorc vw_fontname="Bitstream Vera Sans" fw_fontname="Bitstream Vera Sans Mono" But then everything had the same font size. <H1> the same size and weight as <H§3> etc. -- Andreas Zwinkau | web: andi.dasstellenwirinsinternet.de | mail: andi@buxach.de | jabber: beza1e1@amessage.de
On 2003-04-22 at 12:48 +0200, Andreas Zwinkau wrote:
There is this new truetype font Bitstream Vera, which looks very nice IMHO.
IMHO too -- thanks for the pointer, much appreciated. :^)
Example: http://www.bitstream.com/categories/products/fonts/vera/
Is it possible to use it in Dillo?
Yes, I'm using it now.
I tried to add this in the dillorc vw_fontname="Bitstream Vera Sans"
vw_fontname="bitstream vera sans" The name should match the output from xlsfonts(1). I'm not sure if it's case-sensitive, but I can confirm that the line above, lower-case, works for me. Run: xlsfonts | fgrep -i vera | less If that doesn't show anything, you haven't yet got your X server able to see the fonts. If you're using xfstt, be sure to run "xfstt --sync" after installation. If you can't see the fontname in the output of xlsfonts, then it's not a Dillo issue and you'll need to chase down the problem elsewhere; package installer, xfstt settings, "xset q" output (the "fp" stuff for fontpath), and various other things. If you can see the fontname in xlsfonts and it doesn't work for you in Dillo, then pass; I'm using Dillo 0.7.2-pre from some time in the past three weeks or so and can supply library linkage on request, if it'll help track the problem down.
If that doesn't show anything, you haven't yet got your X server able to see the fonts. If you're using xfstt, be sure to run "xfstt --sync" after installation. I did not use xfs, was that the problem? Mozilla and xchat support Vera nevertheless. Now i run xfs Dillo and xlsfonts do find Vera, too. I use the gentoo-ebuild-dillo, which is currently Dillo 0.7.1, hm i miss the select function i think i will compile the new version now :)
If you can't see the fontname in the output of xlsfonts, then it's not a Dillo issue and you'll need to chase down the problem elsewhere; package installer, xfstt settings, "xset q" output (the "fp" stuff for fontpath), and various other things. No it wasn't i assume. Thanks for the push ;)
-- Andreas Zwinkau | web: andi.dasstellenwirinsinternet.de | mail: andi@buxach.de | jabber: beza1e1@amessage.de
On 2003-04-22 at 18:25 +0200, Andreas Zwinkau wrote:
I did not use xfs, was that the problem? Mozilla and xchat support Vera nevertheless. Now i run xfs Dillo and xlsfonts do find Vera, too.
Sounds like the "FontPath" settings in your XF86Config file do not match the "catalogue" settings in your xfs config (<X11etcdir>/fs/config). xfs is simply a decent cache, which can provide fonts over the network (only need to install on one machine, etc etc). Update your server config to use more font paths. You can augment the list at run time with "xset fp+ /path/to/more/fonts" if you don't want to touch XF86Config. One thing is to make sure that you run "xset fp rehash" after adding new fonts and running "mkfontdir", since X doesn't automatically see new fonts. I should have said that before, but only gave "xfstt --sync". Sorry. So it could simply be fixed by having restarted X, since that effectively did a rehash. ;^) -Phil
Sounds like the "FontPath" settings in your XF86Config file do not match the "catalogue" settings in your xfs config (<X11etcdir>/fs/config). xfs is simply a decent cache, which can provide fonts over the network(only need to install on one machine, etc etc). Update your server config to use more font paths. You can augment the list at run time with "xset fp+ /path/to/more/fonts" if you don't want to touch XF86Config.
One thing is to make sure that you run "xset fp rehash" after adding new fonts and running "mkfontdir", since X doesn't automatically see new fonts. I should have said that before, but only gave "xfstt --sync". Sorry. I thought it was a xfs problem, so i did run it. But now i checked my X output and it says "Could not init font path element unix/:7100, removing from list!". So xfs is not used! I think the problem was mkfontdir. I thought fc-cache (gentoo) would do this, but it does not seem so. Xfs did mkfontdir or something similar on all directories and so Dillo can find them now. Thats my assumption.
I checked .../fs/config and it is there. Thanks for help :D -- Andreas Zwinkau | web: andi.dasstellenwirinsinternet.de | mail: andi@buxach.de | jabber: beza1e1@amessage.de
Phil Pennock writes:
Example: http://www.bitstream.com/categories/products/fonts/vera/ Is it possible to use it in Dillo?
Yes, I'm using it now.
I can use it too, but it's not anti-aliased. xterm is able to use anti-aliased TTF fonts (seemingly ONLY Luxi, but that's another issue), so I know my X setup can use it. What do you have to do to get anti-aliasing? -- Chris music is what numbers feel like San Francisco, CA http://www.nodewarrior.org/chris
Yes, I'm using it now.
I can use it too, but it's not anti-aliased. xterm is able to use anti-aliased TTF fonts (seemingly ONLY Luxi, but that's another issue), so I know my X setup can use it. What do you have to do to get anti-aliasing?
Apply my patch, look in the archives. Should apply with minor tweaks. (Again, I hope this creeps in the official version.)
participants (4)
-
Andreas Zwinkau
-
Chris Palmer
-
Nicola Girardi
-
Phil Pennock