Dillo - Browser

Browsers, email, chat, etc.
Message
Author
User avatar
upnorth
Posts: 287
Joined: Mon 11 Jan 2010, 19:32
Location: Wisconsin UTC-6 (-5 DST)
Contact:

fontconfig for quirky

#31 Post by upnorth »

If you are using quirky, there is now a full fontconfig pet from coolpup:

http://puppylinux.org/wikka/fontconfig
Last edited by upnorth on Sun 25 Apr 2010, 18:16, edited 1 time in total.

User avatar
upnorth
Posts: 287
Joined: Mon 11 Jan 2010, 19:32
Location: Wisconsin UTC-6 (-5 DST)
Contact:

crappy fonts in dillo or opera

#32 Post by upnorth »

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.

Code: Select all

<selectfont>
  <rejectfont>
   <pattern>
     <patelt name="scalable"><bool>false</bool></patelt>
   </pattern>
  </rejectfont>
 </selectfont>
When you are done your local.conf will appear as:

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>
thanks for mikeb's jan23 post

In some situations, a reboot may be necessary.
Last edited by upnorth on Thu 22 Jul 2010, 16:35, edited 2 times in total.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#33 Post by technosaurus »

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
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].

redandwhitestripes
Posts: 179
Joined: Fri 02 Jan 2009, 06:49

Re: crappy fonts in dillo or opera

#34 Post by redandwhitestripes »

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.
Worked a charm without reboot, thanks.

User avatar
upnorth
Posts: 287
Joined: Mon 11 Jan 2010, 19:32
Location: Wisconsin UTC-6 (-5 DST)
Contact:

#35 Post by upnorth »

Just found this on the dillo-dev mail list @

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

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#36 Post by Karl Godt »

about :
there are quite a few patches for the good old gtk1 version here:
http://teki.jpn.ph/pc/software/index-e.shtml#dillo-i18n
dillo-0.86-orig [./configure --prefix=/opt/DILLO && make install [inst: 497KB,pet: 226KB]] :
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
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 be :)

about :
This is statically compiled agains fltk.
Which means compiled dynamically with a static compiled fltk[2] :?:

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]

User avatar
session
Posts: 89
Joined: Mon 07 Feb 2011, 23:11
Location: Valley of the Sun

New Dillo

#37 Post by session »

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.

ichaochao
Posts: 1
Joined: Thu 01 Sep 2011, 12:12

#38 Post by ichaochao »

Thanks............................

mrreality13
Posts: 93
Joined: Sat 04 Oct 2008, 03:24
Location: arlington texas

#39 Post by mrreality13 »

Any one make a pet yet of dillo 3? :P

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#40 Post by Dingo »

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
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

don922
Posts: 433
Joined: Sat 19 Jan 2008, 07:58
Location: Nong Yai Buah

#41 Post by don922 »

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
Can this .pet be used on lupu528?
[color=green][i]Don -- Thailand[/i][/color]
[url=http://www.puppylinux.com][img]http://tinypic.com/4e0tojl.jpg[/img][/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#42 Post by vovchik »

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

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#43 Post by muggins »

Vovchik,

I suspect this isn't what you're after, but thought I'd mention anyway that Miriam has a thread, on improving Dillo's looks, here.

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#44 Post by 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

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#45 Post by aragon »

uploaded actual version to first post.

aragon

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#46 Post by vovchik »

Dear aragon,

Your version doesn't seem to have freetype2 or XFT compiled in - the Lucid version looks great in terms of typefaces but your latest does not look good in Lucid - but it works...

With kind regards,
vovchik

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#47 Post by aragon »

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

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#48 Post by Dingo »

vovchik 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
I applied this patch in src subdir of sourcecode, to change default appereance from default (none) to plastic

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);
changing plastic with gtk+ value, makes you able to build dillo with fltk gtk theme (I attach)
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

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#49 Post by vovchik »

Dear dingo,

Yep, precisely what I was after. Thanks a million. I remember it was easy, but did not recall the syntax. I'm glad you knew it....:)

With kind regards, vovchik

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#50 Post by aragon »

Have tested dingos patch and will upload an updated package with FL-scheme-setting 'gtk+' soon. Looks a little better.

Thanks Dingo!

Aragon

Post Reply