Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 28 Nov 2014, 05:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Dillo - Browser
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 9 [125 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: 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
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: 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
View user's profile Send private message 
Dingo


Joined: 11 Dec 2007
Posts: 1423
Location: somewhere at the end of rainbow...

PostPosted: 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)
dillo-none.png
 Description   dillo open window with default fltk theme (none)
 Filesize   19.48 KB
 Viewed   1487 Time(s)

dillo-none.png

dillo-gtk+.png
 Description   dillo open window with gtk+ theme
 Filesize   26.99 KB
 Viewed   1424 Time(s)

dillo-gtk+.png

dillo-3.0-lucid-gtk+.pet
Description 
pet

 Download 
Filename  dillo-3.0-lucid-gtk+.pet 
Filesize  737.21 KB 
Downloaded  336 Time(s) 
dillo-3.0-lucid-plastic.pet
Description 
pet

 Download 
Filename  dillo-3.0-lucid-plastic.pet 
Filesize  737.29 KB 
Downloaded  333 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
View user's profile Send private message Visit poster's website 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: 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....Smile

With kind regards, vovchik
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: 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
View user's profile Send private message 
session


Joined: 07 Feb 2011
Posts: 90
Location: Valley of the Sun

PostPosted: 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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4380

PostPosted: 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
dillo-3.0.pet
Description  this one has Xft support and ssl
pet

 Download 
Filename  dillo-3.0.pet 
Filesize  711.85 KB 
Downloaded  446 Time(s) 
dillo-3.0-minimal.pet
Description  here it is anyways
pet

 Download 
Filename  dillo-3.0-minimal.pet 
Filesize  929.52 KB 
Downloaded  355 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: 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
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: 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
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: 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
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: 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
View user's profile Send private message 
session


Joined: 07 Feb 2011
Posts: 90
Location: Valley of the Sun

PostPosted: 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
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: 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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4380

PostPosted: 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++ Smile

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 9 [125 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

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
[ Time: 0.1261s ][ Queries: 13 (0.0187s) ][ GZIP on ]