Dillo - Browser
fontconfig for quirky
If you are using quirky, there is now a full fontconfig pet from coolpup:
http://puppylinux.org/wikka/fontconfig
http://puppylinux.org/wikka/fontconfig
Last edited by upnorth on Sun 25 Apr 2010, 18:16, edited 1 time in total.
crappy fonts in dillo or opera
Here is the simpler and smaller fix for the "dot matrix font" pita. Assuming the default /etc/fonts of a standard puppy: Insert this code into your /etc/fonts/local.conf file just above the </fontconfig> tag.
ADDED NOTE: you can add this to your /root/.fonts.conf if you prefer.
When you are done your local.conf will appear as:
thanks for mikeb's jan23 post
In some situations, a reboot may be necessary.
ADDED NOTE: you can add this to your /root/.fonts.conf if you prefer.
Code: Select all
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern>
</rejectfont>
</selectfont>
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--
Enable sub-pixel rendering
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
-->
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig>
In some situations, a reboot may be necessary.
Last edited by upnorth on Thu 22 Jul 2010, 16:35, edited 2 times in total.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
there are quite a few patches for the good old gtk1 version here:
http://teki.jpn.ph/pc/software/index-e.shtml#dillo-i18n
and here:
http://projects.mobileread.com/iliad/us ... -splitted/
I found the second set here:
http://www.mobileread.com/forums/showth ... 870&page=6
along with an explanations
http://teki.jpn.ph/pc/software/index-e.shtml#dillo-i18n
and here:
http://projects.mobileread.com/iliad/us ... -splitted/
I found the second set here:
http://www.mobileread.com/forums/showth ... 870&page=6
along with an explanations
Yes, I recall what they were for .
The patches on http://projects.mobileread.com/iliad...atch-splitted/ are for the following:
dillo-0.8.6-file.patch - Make opening local files work (code: loads the file in its entirety to memory and feeds that to the parser; not optimal but was the easiest route)
dillo-0.8.6-iliad-support.patch - Page scroll with left mouse button instead of middle button; this is: when you drag the page with the stylus, it scrolls (code: swap the references to left mouse button with the ones for middle mouse button in some places; add the list of changes in the about page).
dillo-0.8.6-next-v3.patch - If you press the next button (right arrow in the toolbar) and there is no next page in the page cache history, it will try to guess the next page and load it; did it to act as a rough comic book viewer (code: look for the last number in the URL, increment it and try to load that page)
dillo-0.8.6-utf8-support-v2.patch - Some support for utf-8 pages, so that it can show properly the Spanish Wikipedia; only supports the latin1 part of utf-8, and only transforms the pages that announce themselves as utf-8 (code: if the page advertises itself as utf-8, convert the latin1 utf-8 codes to latin1 codes; latin1 is iso-8859-1 codepage, the one supported in dillo 0.8.6).
And that's all. The patches are simple but not trivial. They just make dillo more usable on the iliad (at least for me .
So, apply them to your build (they don't cause unstabilities AFAIK ). Also, you should modify the about page in dillo-0.8.6-iliad-support.patch to note your changes/additions .
P.S.: About the dillo2 port: the fixed font is installed (the X server won't start without it), so that error is strange.
P.S.2: Ups! Those posts are material for the devel's corner...
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
-
- Posts: 179
- Joined: Fri 02 Jan 2009, 06:49
Re: crappy fonts in dillo or opera
Worked a charm without reboot, thanks.upnorth wrote:Here is the simpler and smaller fix for the "dot matrix font" pita. Assuming the default /etc/fonts of a standard puppy: Insert this code into your /etc/fonts/local.conf file just above the </fontconfig> tag.......
In some situations, a reboot may be necessary.
Just found this on the dillo-dev mail list @
http://lists.auriga.wearlab.de/pipermai ... 07614.html
Might be helpfull for some.
http://lists.auriga.wearlab.de/pipermai ... 07614.html
Might be helpfull for some.
What exactly does not work? Are you seeing little square instead of
tamil characters?
In that case you can try to install FreeSans and FreeSerif, which
are part of the freefont package.
Then change the fonts in your dillorc to:
font_serif="FreeSerif"
font_sans_serif="FreeSans"
Note however, that you might also need to force the use of these new
default fonts in case the webpage chooses a different font
explicitely. To do that add e.g.
* {font-family: sans-serif !important}
to your ~/.dillo/style.css file.
Hope that helps,
Johannes
about :
about :
LDFLAGS="-static" did compile some [/usr/local/lib/dillo/]dpi/*/*.dpi of [7]*440-450KB stripped without the dillo main bin and the downloads.dpi .
CC="diet gcc" had been even worse .
I compiled "dillo-2.2 ./configure --prefix=/opt/DILLO-2 && make install" with a "fltk-2.0.x-r8323 --enable-shared" and the whole dillo became half the size [inst: 739KB,pet: 299KB]
dillo-0.86-orig [./configure --prefix=/opt/DILLO && make install [inst: 497KB,pet: 226KB]] :there are quite a few patches for the good old gtk1 version here:
http://teki.jpn.ph/pc/software/index-e.shtml#dillo-i18n
patched dillo-0.86-i18n-teki.jpn.ph [./configure --prefix=/opt/DILLO && make install [inst: 729KB,pet:313KB]] :Die Deckenhöhe in den Wohnungen beträgt 2,50 m und die Betondeckenhöhe 0,18m .
Ich habe für mich in der 20. Etage eine ungefähre Höhe von 55 Metern über Grund
which is as it should beDie Deckenhöhe in den Wohnungen beträgt 2,50 m und die Betondeckenhöhe 0,18m .
Ich habe für mich in der 20. Etage eine ungefähre Höhe von 55 Metern über Grund
about :
Which means compiled dynamically with a static compiled fltk[2]This is statically compiled agains fltk.
LDFLAGS="-static" did compile some [/usr/local/lib/dillo/]dpi/*/*.dpi of [7]*440-450KB stripped without the dillo main bin and the downloads.dpi .
CC="diet gcc" had been even worse .
I compiled "dillo-2.2 ./configure --prefix=/opt/DILLO-2 && make install" with a "fltk-2.0.x-r8323 --enable-shared" and the whole dillo became half the size [inst: 739KB,pet: 299KB]
New Dillo
I love this browser; today I inadvertently discovered Dillo-2.2.1 has recently been released and version 3 (a port to the actively-developed FLTK-1.3) is just around the corner.
-
- Posts: 93
- Joined: Sat 04 Oct 2008, 03:24
- Location: arlington texas
- Dingo
- Posts: 1437
- Joined: Tue 11 Dec 2007, 17:48
- Location: somewhere at the end of rainbow...
- Contact:
dillo-3.0-i486-lucid.pet For Puppy 5.2.5
- direct download
compiled with ssl and ipv6 support
next days I'll make also dillo for 3.01 and 4.3.1 puppy
- direct download
compiled with ssl and ipv6 support
next days I'll make also dillo for 3.01 and 4.3.1 puppy
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
dropbox 2GB free
OpenOffice for Puppy Linux
Can this .pet be used on lupu528?Dingo wrote:dillo-3.0-i486-lucid.pet For Puppy 5.2.5
- direct download
compiled with ssl and ipv6 support
next days I'll make also dillo for 3.01 and 4.3.1 puppy
[color=green][i]Don -- Thailand[/i][/color]
[url=http://www.puppylinux.com][img]http://tinypic.com/4e0tojl.jpg[/img][/url]
[url=http://www.puppylinux.com][img]http://tinypic.com/4e0tojl.jpg[/img][/url]
Dear dingo, don922, Karl, etc.,
Works fine in my Lucid 2.5. Is there any way of making dillo look less, say, 1995. It is extremely fast but also extremely ugly. In sime FLTK apps, you used to be able to give command-line parameters for style. Any such possibility with Dillo?
with thanks and kind regards,
vovchik
Works fine in my Lucid 2.5. Is there any way of making dillo look less, say, 1995. It is extremely fast but also extremely ugly. In sime FLTK apps, you used to be able to give command-line parameters for style. Any such possibility with Dillo?
with thanks and kind regards,
vovchik
Dear muggins,
Thanks for the links. I remember I wrote and compiled a few little things using FLTK and was able to indicate a choice of "theme" or "style". I will have to check my sources and see whether such an thing can't be done for Dillo, since it is nice and fast but just ugly. Somebody has done a shutdown for puppy in FLTK and it uses a better style (sort of like Mac). I also did that long ago....but my memory is not what it used to be
With kind regards, vovchik
Thanks for the links. I remember I wrote and compiled a few little things using FLTK and was able to indicate a choice of "theme" or "style". I will have to check my sources and see whether such an thing can't be done for Dillo, since it is nice and fast but just ugly. Somebody has done a shutdown for puppy in FLTK and it uses a better style (sort of like Mac). I also did that long ago....but my memory is not what it used to be
With kind regards, vovchik
uploaded actual version to first post.
aragon
aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
hi vovchik,
it's compiled against static fltk-1.3.0 (which has xft enabled) on 4.3.1. I've changed the used fonts in /etc/dillo/dillorc to puppy ones. but you're right, fonts look ugly... but it works fast as allways, so no problem (for me).
aragon
it's compiled against static fltk-1.3.0 (which has xft enabled) on 4.3.1. I've changed the used fonts in /etc/dillo/dillorc to puppy ones. but you're right, fonts look ugly... but it works fast as allways, so no problem (for me).
aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
- Dingo
- Posts: 1437
- Joined: Tue 11 Dec 2007, 17:48
- Location: somewhere at the end of rainbow...
- Contact:
I applied this patch in src subdir of sourcecode, to change default appereance from default (none) to plasticvovchik wrote:Dear dingo, don922, Karl, etc.,
Works fine in my Lucid 2.5. Is there any way of making dillo look less, say, 1995. It is extremely fast but also extremely ugly. In sime FLTK apps, you used to be able to give command-line parameters for style. Any such possibility with Dillo?
with thanks and kind regards,
vovchik
Code: Select all
diff -r 6fe817711ef4 src/dillo.cc
--- dillo.cc Fri Aug 05 21:39:27 2011 -0400
+++ dillo.cc Sat Aug 06 22:34:28 2011 +0000
@@ -379,6 +379,8 @@
// only way to set the
// default font in fltk1.3
+ Fl::scheme("plastic");
+
// Create a new UI/bw pair
BrowserWindow *bw = a_UIcmd_browser_window_new(0, 0, xid, NULL);
- Attachments
-
- dillo-none.png
- dillo open window with default fltk theme (none)
- (19.48 KiB) Downloaded 1619 times
-
- dillo-gtk+.png
- dillo open window with gtk+ theme
- (26.99 KiB) Downloaded 1542 times
Last edited by Dingo on Mon 12 Sep 2011, 21:30, edited 2 times in total.
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
dropbox 2GB free
OpenOffice for Puppy Linux
Have tested dingos patch and will upload an updated package with FL-scheme-setting 'gtk+' soon. Looks a little better.
Thanks Dingo!
Aragon
Thanks Dingo!
Aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html