The time now is Sat 21 Apr 2018, 00:09
All times are UTC - 4 |
Author |
Message |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Mon 12 Sep 2011, 15:51 Post subject:
|
|
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
|
Back to top
|
|
 |
aragon
Joined: 15 Oct 2007 Posts: 1698 Location: Germany
|
Posted: Mon 12 Sep 2011, 16:11 Post subject:
|
|
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
_________________ PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1434 Location: somewhere at the end of rainbow...
|
Posted: Mon 12 Sep 2011, 17:02 Post subject:
|
|
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: | 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)
Description |
dillo open window with default fltk theme (none) |
Filesize |
19.48 KB |
Viewed |
1586 Time(s) |

|
Description |
dillo open window with gtk+ theme |
Filesize |
26.99 KB |
Viewed |
1516 Time(s) |

|
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
Last edited by Dingo on Mon 12 Sep 2011, 17:30; edited 2 times in total
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Mon 12 Sep 2011, 17:18 Post subject:
|
|
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
|
Back to top
|
|
 |
aragon
Joined: 15 Oct 2007 Posts: 1698 Location: Germany
|
Posted: Tue 13 Sep 2011, 02:12 Post subject:
|
|
Have tested dingos patch and will upload an updated package with FL-scheme-setting 'gtk+' soon. Looks a little better.
Thanks Dingo!
Aragon
_________________ PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
|
Back to top
|
|
 |
session

Joined: 07 Feb 2011 Posts: 90 Location: Valley of the Sun
|
Posted: Thu 15 Sep 2011, 18:28 Post subject:
|
|
If Xft is enabled in this latest Dillo pet, why can't I view a single scalable font?
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: Thu 15 Sep 2011, 21:42 Post subject:
|
|
I compiled it with a static uclibc++, fltk-1.3 and disabled everything but ssl ... it is actually larger but uses <5Mb Ram with the about page. ... but yes Xft does appear to be necessary, because I can't even tell what I am typing
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
aragon
Joined: 15 Oct 2007 Posts: 1698 Location: Germany
|
Posted: Fri 16 Sep 2011, 02:27 Post subject:
|
|
session wrote: | If Xft is enabled in this latest Dillo pet, why can't I view a single scalable font? |
if you're talking about my package: it's actually set to bitmapped fonts in /etc/dillo/dillorc. To change:
- first copy /etc/dillo/dillorc to /root/.dillo/dillorc (if it doesn't allready exist).
- Disable bitmapped (line 60 ff) and set the valiues for scalable (line 50 ff) to appropriate values for your system.
- Save and restart dillo. To check, if dillo 'accepts' your font-settings run it from a terminal. If the settings are wrong, you'll see.
Hope that helps.
aragon
_________________ PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Fri 16 Sep 2011, 05:04 Post subject:
|
|
technosaurus wrote: | I compiled it with a static uclibc++, fltk-1.3 and disabled everything but ssl ... it is actually larger but uses <5Mb Ram with the about page. ... but yes Xft does appear to be necessary, because I can't even tell what I am typing |
I only installed /usr/bin/dillo, which is actually 64K smaller then ver 2.2 in lucid 5.2.5 base
(also installed 12K /usr/lib/dillo/dpi/vsource/vsource.filter.dpi, although don't know if I need it).
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Fri 16 Sep 2011, 13:50 Post subject:
|
|
[quote="jpeps"] technosaurus wrote: | I compiled it with a static uclibc++, fltk-1.3 and disabled everything but ssl ... it is actually larger but uses <5Mb Ram with the about page. ... but yes Xft does appear to be necessary, because I can't even tell what I am typing |
Besides the saving in /usr/bin/dillo, also noted a 108K savings in the downloads.dpi :
new: 320K ./usr/lib/dillo/dpi/downloads/downloads.dpi
in base: 428K /usr/lib/dillo/dpi/downloads/downloads.dpi
Edit: [I wonder if the "remote certificate cannot be verified"] ...installed the whole package, and note that the bug was fixed...now the only problem is that it fails to log on. No problem with my links text browser.
Edit2: It's working; I had a typo in cookiesrc. Hey...this browser is getting to be useable! Good thing, since Firefox is becoming increasingly unuseable.
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Fri 16 Sep 2011, 15:58 Post subject:
capi_filters |
|
What's with the Capi_filters_test ? I would think having cookies set to DEFAULT ALLOW would be enough.
Code: |
Capi_filters_test: DENY from 'online.wsj.com' to 'si.wsj.net'
|
|
Back to top
|
|
 |
session

Joined: 07 Feb 2011 Posts: 90 Location: Valley of the Sun
|
Posted: Sat 17 Sep 2011, 01:18 Post subject:
|
|
aragon wrote: | session wrote: | If Xft is enabled in this latest Dillo pet, why can't I view a single scalable font? |
if you're talking about my package: it's actually set to bitmapped fonts in /etc/dillo/dillorc. To change:
- first copy /etc/dillo/dillorc to /root/.dillo/dillorc (if it doesn't allready exist).
- Disable bitmapped (line 60 ff) and set the valiues for scalable (line 50 ff) to appropriate values for your system.
- Save and restart dillo. To check, if dillo 'accepts' your font-settings run it from a terminal. If the settings are wrong, you'll see.
Hope that helps.
aragon |
That's the first thing I did; enabling scalable fonts in dillorc changes some font sizes in web pages but does not seem to enable actual scalable fonts. Terminal doesn't complain of any wrong font settings...
_________________ Primary - Intel Pentium 4 2.40GHz, 571MB RAM, ATI Radeon 7000. Linux Mint 17 Qiana installed.
Secondary - Pentium 3 533MHz, 385MB RAM, ATI Rage 128 Pro ULTRA TF. Precise Puppy 5.7.1 Retro full install.
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Sat 17 Sep 2011, 06:15 Post subject:
|
|
session wrote: |
That's the first thing I did; enabling scalable fonts in dillorc changes some font sizes in web pages but does not seem to enable actual scalable fonts. Terminal doesn't complain of any wrong font settings... |
Yes, Links seems to do a better job of scaling.
edit: reinstalled techno's version, and now scaling correctly.
Last edited by jpeps on Sat 17 Sep 2011, 13:39; edited 1 time in total
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: Sat 17 Sep 2011, 10:36 Post subject:
|
|
here is my uclibc++ .config
Code: |
#
# Automatically generated make config: don't edit
#
#
# Target Features and Options
#
# UCLIBCXX_HAS_FLOATS is not set
# UCLIBCXX_HAS_TLS is not set
WARNINGS="-Wall -Os -ffunction-sections -fdata-sections -mno-accumulate-outgoing-args -fomit-frame-pointer -march=i586 -mtune=i686"
BUILD_EXTRA_LIBRARIES="-ffunction-sections -fdata-sections -Wl,-O2,--gc-sections,--as-needed,--sort-common,-s"
HAVE_DOT_CONFIG=y
#
# String and I/O Stream Support
#
# UCLIBCXX_HAS_WCHAR is not set
UCLIBCXX_IOSTREAM_BUFSIZE=0
# UCLIBCXX_HAS_LFS is not set
# UCLIBCXX_SUPPORT_CDIR is not set
#
# STL and Code Expansion
#
UCLIBCXX_STL_BUFFER_SIZE=4
# UCLIBCXX_CODE_EXPANSION is not set
#
# Library Installation Options
#
UCLIBCXX_RUNTIME_PREFIX="/usr/uClibc++"
UCLIBCXX_RUNTIME_INCLUDE_SUBDIR="/include"
UCLIBCXX_RUNTIME_LIB_SUBDIR="/lib"
UCLIBCXX_RUNTIME_BIN_SUBDIR="/bin"
# UCLIBCXX_EXCEPTION_SUPPORT is not set
BUILD_STATIC_LIB=y
BUILD_ONLY_STATIC_LIB=y
# DODEBUG is not set
|
fltk-1.3 config options
Code: |
CC=gcc CXX=/usr/uClibc++/bin/g++-uc CFLAGS=" -I/usr/uClibc++/include -pipe -combine -Os -ffunction-sections -fdata-sections -mno-accumulate-outgoing-args -fomit-frame-pointer -march=i586 -mtune=i686 " CXXFLAGS=" -I/usr/uClibc++/include -pipe -combine -Os -ffunction-sections -fdata-sections -fomit-frame-pointer -mno-accumulate-outgoing-args -march=i586 -mtune=i686 -fno-exceptions -fno-rtti " LDFLAGS="-Wl,--gc-sections,--sort-common,--as-needed,-s" ./configure --prefix=/usr --disable-threads --disable-gl --disable-largefile --with-optim=" -I/usr/uClibc++/include -pipe -combine -Os -ffunction-sections -fdata-sections -fomit-frame-pointer -mno-accumulate-outgoing-args -march=i586 -mtune=i686 -fno-exceptions -fno-rtti " --disable-xinerama --disable-xdbe --sysconfdir=/etc
|
dillo config options
Code: | CC=gcc CXX=/usr/uClibc++/bin/g++-uc CFLAGS=" -I/usr/uClibc++/include -pipe -combine -Os -ffunction-sections -fdata-sections -mno-accumulate-outgoing-args -fomit-frame-pointer -march=i586 -mtune=i686 " CXXFLAGS=" -I/usr/uClibc++/include -pipe -combine -Os -ffunction-sections -fdata-sections -fomit-frame-pointer -mno-accumulate-outgoing-args -march=i586 -mtune=i686 -fno-exceptions -fno-rtti " LDFLAGS="-Wl,--gc-sections,--sort-common,--as-needed,-s" ./configure --prefix=/usr --sysconfdir=/etc --enable-ssl |
which gives you these dependencies
Code: | NEEDED ld-linux.so.2
NEEDED libc.so.6
NEEDED libdl.so.2
NEEDED libfontconfig.so.1
NEEDED libgcc_s.so.1
NEEDED libjpeg.so.7
NEEDED libm.so.6
NEEDED libpthread.so.0
NEEDED libX11.so.6
NEEDED libXft.so.2
NEEDED libz.so.1 |
if Xft is disabled in fltk then these are the only dependencies
Code: | NEEDED ld-linux.so.2
NEEDED libc.so.6
NEEDED libdl.so.2
NEEDED libgcc_s.so.1
NEEDED libjpeg.so.7
NEEDED libm.so.6
NEEDED libX11.so.6
NEEDED libz.so.1
|
notice that neither one requires fltk or libstdc++
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Sat 17 Sep 2011, 12:49 Post subject:
|
|
I'm trying aragon's version. It doesn't find the fonts listed in dillorc for some reason. I tried several that show up with fc-list : family.
techno's version is working correctly, and the fonts are now scaling properly.
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|