Hello, I have loaded Dillo Browser on to my ARM based embedded platform. Presently, I am facing a problem with fonts. The messages that I get while the browser comes up are --------------------------------------------------------------- bad font: variable ** WARNING **: preferred sans-serif font "helvetica Sans" not found. ** WARNING **: preferred serif font "helvetica Serif" not found. ** WARNING **: preferred monospace font "helvetica Sans Mono" not found. ** WARNING **: preferred cursive font "helvetica Sans" not found. ** WARNING **: preferred fantasy font "helvetica Sans" not found. ------------------------------------------------------------------ Also, the size of the text that appears on Dillo (On the ARM based system) appears very small. However, the same page if I open with Dillo running on a Linux PC, will show bigger fonts. So, my questions are: 1. How do I get rid of the "bad font" error message on my ARM-based system ? I have used LTIB as the unix based development platform. 2. How to overcome the font size problem ? Playing around with max/min font_size and scale_factor in dillorc did not help. regards, Rajesh Marathe.
Rajesh wrote:
I have loaded Dillo Browser on to my ARM based embedded platform. Presently, I am facing a problem with fonts. The messages that I get while the browser comes up are --------------------------------------------------------------- bad font: variable ** WARNING **: preferred sans-serif font "helvetica Sans" not found. ** WARNING **: preferred serif font "helvetica Serif" not found. ** WARNING **: preferred monospace font "helvetica Sans Mono" not found. ** WARNING **: preferred cursive font "helvetica Sans" not found. ** WARNING **: preferred fantasy font "helvetica Sans" not found. ------------------------------------------------------------------
Also, the size of the text that appears on Dillo (On the ARM based system) appears very small. However, the same page if I open with Dillo running on a Linux PC, will show bigger fonts. So, my questions are:
1. How do I get rid of the "bad font" error message on my ARM-based system ? I have used LTIB as the unix based development platform.
2. How to overcome the font size problem ? Playing around with max/min font_size and scale_factor in dillorc did not help.
What fonts do you have? If you don't have scalable fonts, maybe you'll want to --disable-xft in fltk configuration. In any case, if you have helvetica, for instance, you'd just want to say font_sans_serif="helvetica". (Fltk's src/x11/Font_xlfd.cxx suggests that helvetica is relatively safe for sans, courier for monospaced, and times for serif.)
Hi, I have faced these problems some time ago while compiling it for my ipaq. Scalable fonts were available but not the correct font libraries in the build environment. There are two possibilities to satisfy fltk's font library dependencies. One of them gives you nice looking fonts and one other not. Just what I remember at the moment. Greetings Andreas Kemnade
participants (3)
-
andreas@kemnade.info
-
corvid@lavabit.com
-
rmarathe@i-rode.com