Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 05-15-2009, 02:50 AM   #91
liyiwen
Junior Member
liyiwen began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2009
Device: Irex
Antartica,
understand your situation.... anyway still appreciate your contribution very much..... we can wait for ... don't worry....
liyiwen is offline   Reply With Quote
Old 07-10-2009, 08:31 AM   #92
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
teaser: dillo2 for the iliad!

Hi all,

Thanks to the kind guys over dillo-dev mailing list, now I have compiled successfully dillo2 for the iliad!

This is a straight compile, so no input yet (argh!), but it is coming. See attached screenshot.

If you want to test it yourself, the binary is also attached, but beware that it isn't very useful yet because of the lacking soft-keyboard support.
Attached Thumbnails
Click image for larger version

Name:	dillo2.1-iliad.png
Views:	561
Size:	65.8 KB
ID:	31945  
Attached Files
File Type: gz dillo2.1-iliad0.tar.gz (1.04 MB, 391 views)

Last edited by Antartica; 07-10-2009 at 08:34 AM.
Antartica is offline   Reply With Quote
Advert
Old 07-10-2009, 08:44 AM   #93
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
You are really brillant. I tried to build dillo2 for iLiad several time in the 6 months and got nothing success.

So, is this dillo 2.0, 2.1 or 2.1.1?

Last edited by ericshliao; 07-10-2009 at 08:49 AM.
ericshliao is offline   Reply With Quote
Old 07-10-2009, 07:33 PM   #94
cbell
Frenetic
cbell can illuminate an eclipsecbell can illuminate an eclipsecbell can illuminate an eclipsecbell can illuminate an eclipsecbell can illuminate an eclipsecbell can illuminate an eclipsecbell can illuminate an eclipsecbell can illuminate an eclipsecbell can illuminate an eclipsecbell can illuminate an eclipsecbell can illuminate an eclipse
 
cbell's Avatar
 
Posts: 590
Karma: 8181
Join Date: Apr 2008
Location: Australia
Device: iLiad V2
Antartica, many, many thanks for working on this!
cbell is offline   Reply With Quote
Old 07-10-2009, 09:01 PM   #95
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
It's dillo 2.1.1, and it's really fast. FLTK is so amazing.

Added:
Antartica,
did you build FLTK with freetype enabled? The dillo2 that you built seems can't display homepage with Chinese text. I am not sure if it's the nature of dillo2 or something else. IIRC, dillo2 on my desktop Linux can dispaly Chinese text.

Added 2:
Just found that I am wrong. Dillo2 on my desktop can't dispaly Chinese text, eighter.

Last edited by ericshliao; 07-10-2009 at 09:58 PM.
ericshliao is offline   Reply With Quote
Advert
Old 07-13-2009, 09:58 AM   #96
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by ericshliao View Post
Just found that I am wrong. Dillo2 on my desktop can't dispaly Chinese text, eighter.
I'll have to investigate it, because I intended to be able to browse japanese sites with it!

Can it be because the default fonts it chooses? Can you try to change in the dillorc file the font used to display proportional text to one you know has the necessary glyphs?
Antartica is offline   Reply With Quote
Old 07-13-2009, 12:15 PM   #97
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Quote:
Originally Posted by Antartica View Post
Can you try to change in the dillorc file the font used to display proportional text to one you know has the necessary glyphs?
I would like to try, but I am having difficult in build dillo2 for my desktop. I just screwed up my desktop Linux, and after re-installed Linux and FLTK2, I always failed at building dillo2. I am still trying to figure it out.
ericshliao is offline   Reply With Quote
Old 07-13-2009, 12:55 PM   #98
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Since I can't try it on my desktop, I tried it on iLiad. I added several lines to specify fontname in dillorc and put dillorc in $HOME/.dillo. I also changed the start_page to Google. dillorc was loaded when dillo2 started, but it failed to display proper font.
ericshliao is offline   Reply With Quote
Old 07-14-2009, 10:48 AM   #99
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by ericshliao View Post
Since I can't try it on my desktop, I tried it on iLiad. I added several lines to specify fontname in dillorc and put dillorc in $HOME/.dillo. I also changed the start_page to Google. dillorc was loaded when dillo2 started, but it failed to display proper font.
What a pity. Thanks a lot for the test.

I will try to fix it when I have some time... but after releasing one dillo2 with keyboard support .
Antartica is offline   Reply With Quote
Old 07-14-2009, 12:14 PM   #100
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
I finally managed to build dillo2 for iLiad now. Still failed for desktop.

I did a small test and found that maybe FLTK2 does not support Chinese and Japanese text dispaly. I adopted the hello world example from FLTK2 tutorial, and inserted some Chinese and Japanese text after "Hello World". Sadly, only "Hello World!" can be dispalyed. Chinese and Japanese text were showed in empty blocks, just like what I saw on Dillo2.

I put the program here for you to test. Unpack the attachment to anywhere and execute from contentlister. Source code is included.
Attached Thumbnails
Click image for larger version

Name:	fltkhello.PNG
Views:	436
Size:	82.6 KB
ID:	32351   Click image for larger version

Name:	fltk1.PNG
Views:	426
Size:	154.4 KB
ID:	32353  
Attached Files
File Type: zip fltkhello.zip (1.08 MB, 300 views)

Last edited by ericshliao; 07-15-2009 at 01:46 PM.
ericshliao is offline   Reply With Quote
Old 07-14-2009, 12:44 PM   #101
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
I wrote a small program (as follows) to print available fonts for FLTK2. The result is correct. I have to do some more test.

Code:
#include <fltk/Window.h>
#include <fltk/Widget.h>
#include <fltk/Font.h>
#include <fltk/run.h>
#include <stdio.h>

using namespace fltk;

int main(int argc, char **argv) {
	Font **  arrayp;
	int n = list_fonts(arrayp);
	printf("Number of font items: %d\n", n);
}
ericshliao is offline   Reply With Quote
Old 07-15-2009, 11:33 AM   #102
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by ericshliao View Post
I finally managed to build dillo2 for iLiad now. Still failed for desktop.
I forgot to put here a reference to the needed change to FLTK2 so that it doesn't crash with kdrive with embedded fixed font (i.o.w., with the iliad X server):

http://lists.auriga.wearlab.de/piper...ly/006705.html

I assume that you have applied this patch (or that fltk.org guys have already incorporated the patch in fltk2).

Quote:
I did a small test and found that maybe FLTK2 does not support Chinese and Japanese text dispaly. I adopted the hello world example from FLTK2 tutorial, and inserted some Chinese and Japanese text after "Hello World". Sadly, only "Hello World!" can be dispalyed. Chinese and Japanese text were showed in empty blocks, just like what I saw on Dillo2.

I put the program here for you to test. Unpack the attachment to anywhere and execute from contentlister. Source code is included.
Ok. Thanks .
Antartica is offline   Reply With Quote
Old 07-15-2009, 11:58 AM   #103
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
(from a message in xeepdmgr thread in iliad dev)

Quote:
Originally Posted by ericshliao View Post
I can build dillo2 on my desktop now. It still failed to dispaly Chinese and Japanese text. I also tried a hello world program, only English letters can be dispalyed. So, I guess the problem must be dealt within FLTK2.
One thing is certain, it is a simple compilation flags problem, as there are people in the dillo-dev mailing list using dillo2 with chinese/japanese:

http://lists.auriga.wearlab.de/piper...er/005427.html
Antartica is offline   Reply With Quote
Old 07-15-2009, 12:31 PM   #104
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
I didn't know any patch until you mentioned. I am using "fltk-2.0.x-r6793".

Yes, I also read about the thread discussing text wrapping problem. But I don't know how did they managed to display Chinese and Japanese text.

I just joined fltk-dev mailing list several hours ago, and I threw my text dispaly problem there. Hope it can be solved.

Last edited by ericshliao; 07-15-2009 at 01:03 PM.
ericshliao is offline   Reply With Quote
Old 07-17-2009, 12:58 PM   #105
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
With the help of fltk-dev mail list, I know how to compile single FLTK2 program to support non-English text now. It is: "fltk2-config --compile mycode.cxx". In fact, fltk2-config will call gcc with proper option. But how to use fltk2-config to compile dillo2?
ericshliao is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email from Web Browser timctrahan Calibre 18 09-19-2010 01:09 AM
Troubleshooting web browser problem kz9726 Amazon Kindle 2 09-14-2010 02:01 AM
Classic Using 3G with Nook Web browser? Arwen17 Barnes & Noble NOOK 2 08-20-2010 02:42 PM
iLiad Dillo libXp.so.6 rafel2005j iRex 2 08-09-2010 02:05 PM
How can I install fonts for the dillo web browser Ido Ilan iRex 7 01-23-2008 09:59 PM


All times are GMT -4. The time now is 08:55 PM.


MobileRead.com is a privately owned, operated and funded community.