Quote:
Originally Posted by jbui
Dillo already works with version 2.11.
I use Dillo mainly to surf Wikipedia pages related to Mathematics and Physics stuff. Mathematical expressions not always are correctly displayed (missing or wrong exponentials and other symbols). I have tried to put a lot of scientific truetype fonts in Dillo's fonts directory but without any success. Anyone knows a solution to this problem?
|
Current dillo doesn't support ttf fonts (it uses gtk+1.2).
Three possible solutions (all requires work):
1. Find a suitable ttf font and convert it to BDF with fontforge (
http://fontforge.sourceforge.net/ ), then convert the BDF to pcf with bdf2pdf (using your favorite UNIX or Linux platform). The resulting font should be put in one the font directories and "mkfontdir ." should be executed in that directory to refresh the font directory (again, in UNIX or Linux). That is to make the font suitable for gtk+1.2. After all that work, dillo would have to be configured (.dillo/dillorc) to use that font. The "configuring dillo" part is what I'm less sure on what have to be done.
2. The dillo team has just published a new alpha version that uses fltk2 instead of gtk+1.2. Fltk2 supports ttf fonts, antialiasing, ect. I've downloaded it, but have not had the chance to compile it yet. If it works, I'll update the dillo package with it. This one would resolve your problems is a clean and easy way, but I'm very unreliable about having free time...
3. There is a very interesting article about a port of WebKit to SDL (among other platforms) here:
http://www.linuxdevices.com/news/NS6750053334.html .If it compiles cleanly for the iliad, THAT is a complete browser (WebKit is the engine behind Apple's Safary, based off KHTML). It has CSS, JavaScript, et all. Really, this could be a good solution to escape from the bundled minimo. Alas, this option is clearly marked as FUTURE ;-).
Hope that helps a bit.
My recommendation is to wait a week or so to see if (2) is feasible ;-).
UPDATE: dillo-fltk needs some polishing right now, even for experimenting. Have compiled for x86 and crashes. There are reports of working in x86, but it consistently crashes in x86_64 and other archs; i.e. there is a report of compiling it for familiar on the iPAQ, which is another ARM device, and only works when forwarding the display to the PC, not in the local display... they're hammering the bugs, but it'll take a while until it's as usable as the gtk+1.2 dillo. I'll keep you posted ;-).
UPDATE2: the crash I was experimenting in x86 with dillo-fltk was only because the ~/.dillo directory didn't existed. After creating it, it works for me. Ok, utf-8 is working, but I'm not so sure about ttf fonts for the main window. Will have to investigate it a bit