Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-06-2013, 08:28 AM   #16
Wonzling
Member
Wonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshes
 
Posts: 11
Karma: 14046
Join Date: Jan 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by twobob View Post
unsure why the /usr fix didn't work... I suppose you did double double check the sym link is "right".

So in the absence of better advice. Here is a snapshot of exactly how mine is configured. and the fonts I use.
Checked: Sym link goes to /usr, permissions are 0777.
Copied your files to mnt/us/usr*

same Error
Thanks for your help and patience.
If it's running one day, I'll write a howto. Promised.

Oliver
Wonzling is offline   Reply With Quote
Old 01-06-2013, 10:29 AM   #17
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
did you amend the symlink to point to /mnt/us/usr after you placed the new files on FAT.

mntroot rw
cd /
ln -fs /mnt/us/usr mntususr
mntroot ro


Quote:
-f, --force
remove existing destination files
so that should be fine as a oneshot deal.

It is worth pointing out that you can grab a not "totally weird" one from debian.

however mine is setup in this way to allow for maximum flexibility with minimal rootfs impact. sorry for the extra effort.

You can also use SED to replace the value in the BINARY. let me go find that command..
*goes and finds SED command* ah yeah this kind of thing

Last edited by twobob; 01-06-2013 at 10:36 AM. Reason: linky for SED example
twobob is offline   Reply With Quote
 
Advertisement
Old 01-06-2013, 11:30 AM   #18
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 1,860
Karma: 32911546
Join Date: Dec 2011
Device: PW1, Galaxy S5, Galaxy Note 4, Nexus 7 (2013), Nexus 10
Quote:
Originally Posted by twobob View Post
You can also use SED to replace the value in the BINARY.
Some one say Zed? Instantly reminds me of Pulp Fiction:
Quote:
"Who's motorcycle is this?"
"It's a chopper, babe!"
"Who's chopper is this?"
"Zed's."
"Who's Zed?"
"Zed's dead."


No, sed actually is useful
DuckieTigger is offline   Reply With Quote
Old 01-06-2013, 02:19 PM   #19
Wonzling
Member
Wonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshes
 
Posts: 11
Karma: 14046
Join Date: Jan 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by twobob View Post
did you amend the symlink to point to /mnt/us/usr after you placed the new files on FAT.
Sure, you were right. I changed it and doublechecked files and path...
Fonts are defnitely in /mnt/us/usr/share/fonts*
And the Sym link "mntususr" points to /mnt/us/usr/, permissions are 0777...
But the error stays the same:
Spoiler:
[root@kindle /]# cd /mnt/us/export/Xephyr-5/bin; LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./Xephyr-5 :1 -title "L:A_N
:application_ID:xephyr_PC:N" -screen 600x800 -cc 4 -dpi 155 &
[root@kindle bin]# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/kindle:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[dix] Could not init font path element /mntususr/share/fonts/X11/misc/, removing from list!
[dix] Could not init font path element /mntususr/share/fonts/X11/TTF/, removing from list!
[dix] Could not init font path element /mntususr/share/fonts/X11/OTF/, removing from list!
[dix] Could not init font path element /mntususr/share/fonts/X11/Type1/, removing from list!
[dix] Could not init font path element /mntususr/share/fonts/X11/100dpi/, removing from list!
[dix] Could not init font path element /mntususr/share/fonts/X11/75dpi/, removing from list!
[dix] Could not init font path element built-ins, removing from list!

Fatal server error:
could not open default font 'fixed'


Quote:
Originally Posted by twobob View Post
It is worth pointing out that you can grab a not "totally weird" one from debian.
I'm not sure, what's weird in here. Maybe that embedded linux on my KPW. I'm tending to reset everything and try from the beginning...
Wonzling is offline   Reply With Quote
Old 01-06-2013, 02:28 PM   #20
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Spoiler:
hmm..

I get:

[root@kindle root]# LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH Xephyr-5 :1 -title "
L:A_N:application_ID:xephyr_PC:N" -screen 600x800 -cc 4 -dpi 155 &

Quote:
[root@kindle root]# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/kindle:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[dix] Could not init font path element /mntususr/share/fonts/X11/misc/, removing from list!
[dix] Could not init font path element /mntususr/share/fonts/X11/TTF/, removing from list!
[dix] Could not init font path element /mntususr/share/fonts/X11/OTF/, removing from list!

and then it starts...

I suppose you checked

[root@kindle root]# ls -ak /mntususr/share/fonts/x11/100dpi/font*
Quote:
/mntususr/share/fonts/x11/100dpi/fonts.alias
/mntususr/share/fonts/x11/100dpi/fonts.dir
just to like triple sure???


EDIT:

from Xephyr-5 --help


Quote:
-fn string default font name
-fp string default font path
so you point it at anything you want...

here's some useful info too I suppose
(I have custom fonts on mine on the root dir as you can see, just go pick something you want to use...)

[root@kindle 100dpi]# pwd
Quote:
/usr/share/fonts/X11/100dpi
[root@kindle 100dpi]# cat fonts.alias
Spoiler:
Quote:
!! fonts.alias -- automatically generated file. DO NOT EDIT.
!! To modify, see update-fonts-alias(8).
!! /etc/X11/fonts/100dpi/xfonts-100dpi.alias
lucidasans-bolditalic-8 -b&h-lucida-bold-i-normal-sans-11-80-100-100-p-69-iso8859-1
lucidasans-bolditalic-10 -b&h-lucida-bold-i-normal-sans-14-100-100-100-p-90-iso8859-1
lucidasans-bolditalic-12 -b&h-lucida-bold-i-normal-sans-17-120-100-100-p-108-iso8859-1
lucidasans-bolditalic-14 -b&h-lucida-bold-i-normal-sans-20-140-100-100-p-127-iso8859-1
lucidasans-bolditalic-18 -b&h-lucida-bold-i-normal-sans-25-180-100-100-p-159-iso8859-1
lucidasans-bolditalic-24 -b&h-lucida-bold-i-normal-sans-34-240-100-100-p-215-iso8859-1
lucidasans-bold-8 -b&h-lucida-bold-r-normal-sans-11-80-100-100-p-70-iso8859-1
lucidasans-bold-10 -b&h-lucida-bold-r-normal-sans-14-100-100-100-p-89-iso8859-1
lucidasans-bold-12 -b&h-lucida-bold-r-normal-sans-17-120-100-100-p-108-iso8859-1
lucidasans-bold-14 -b&h-lucida-bold-r-normal-sans-20-140-100-100-p-127-iso8859-1
lucidasans-bold-18 -b&h-lucida-bold-r-normal-sans-25-180-100-100-p-158-iso8859-1
lucidasans-bold-24 -b&h-lucida-bold-r-normal-sans-34-240-100-100-p-216-iso8859-1
lucidasans-italic-8 -b&h-lucida-medium-i-normal-sans-11-80-100-100-p-62-iso8859-1
lucidasans-italic-10 -b&h-lucida-medium-i-normal-sans-14-100-100-100-p-80-iso8859-1
lucidasans-italic-12 -b&h-lucida-medium-i-normal-sans-17-120-100-100-p-97-iso8859-1
lucidasans-italic-14 -b&h-lucida-medium-i-normal-sans-20-140-100-100-p-114-iso8859-1
lucidasans-italic-18 -b&h-lucida-medium-i-normal-sans-25-180-100-100-p-141-iso8859-1
lucidasans-italic-24 -b&h-lucida-medium-i-normal-sans-34-240-100-100-p-192-iso8859-1
lucidasans-8 -b&h-lucida-medium-r-normal-sans-11-80-100-100-p-63-iso8859-1
lucidasans-10 -b&h-lucida-medium-r-normal-sans-14-100-100-100-p-80-iso8859-1
lucidasans-12 -b&h-lucida-medium-r-normal-sans-17-120-100-100-p-96-iso8859-1
lucidasans-14 -b&h-lucida-medium-r-normal-sans-20-140-100-100-p-114-iso8859-1
lucidasans-18 -b&h-lucida-medium-r-normal-sans-25-180-100-100-p-142-iso8859-1
lucidasans-24 -b&h-lucida-medium-r-normal-sans-34-240-100-100-p-191-iso8859-1
lucidasanstypewriter-bold-8 -b&h-lucidatypewriter-bold-r-normal-sans-11-80-100-100-m-70-iso8859-1
lucidasanstypewriter-bold-10 -b&h-lucidatypewriter-bold-r-normal-sans-14-100-100-100-m-80-iso8859-1
lucidasanstypewriter-bold-12 -b&h-lucidatypewriter-bold-r-normal-sans-17-120-100-100-m-100-iso8859-1
lucidasanstypewriter-bold-14 -b&h-lucidatypewriter-bold-r-normal-sans-20-140-100-100-m-120-iso8859-1
lucidasanstypewriter-bold-18 -b&h-lucidatypewriter-bold-r-normal-sans-25-180-100-100-m-150-iso8859-1
lucidasanstypewriter-bold-24 -b&h-lucidatypewriter-bold-r-normal-sans-34-240-100-100-m-200-iso8859-1
lucidasanstypewriter-8 -b&h-lucidatypewriter-medium-r-normal-sans-11-80-100-100-m-70-iso8859-1
lucidasanstypewriter-10 -b&h-lucidatypewriter-medium-r-normal-sans-14-100-100-100-m-80-iso8859-1
lucidasanstypewriter-12 -b&h-lucidatypewriter-medium-r-normal-sans-17-120-100-100-m-100-iso8859-1
lucidasanstypewriter-14 -b&h-lucidatypewriter-medium-r-normal-sans-20-140-100-100-m-120-iso8859-1
lucidasanstypewriter-18 -b&h-lucidatypewriter-medium-r-normal-sans-25-180-100-100-m-150-iso8859-1
lucidasanstypewriter-24 -b&h-lucidatypewriter-medium-r-normal-sans-34-240-100-100-m-200-iso8859-1


There are two types of important files: fonts.dir in each of these paths, and fonts.alias in some of the paths. For example, let's go to /usr/share/fonts/X11/100dpi, and open the files. The files look similar to this:

Quote:
[fonts.dir]

366
charB08.pcf.gz -bitstream-charter-bold-r-normal--11-80-100-100-p-69-iso8859-1
charB10.pcf.gz -bitstream-charter-bold-r-normal--14-100-100-100-p-88-iso8859-1
charB12.pcf.gz -bitstream-charter-bold-r-normal--17-120-100-100-p-107-iso8859-1
charB14.pcf.gz -bitstream-charter-bold-r-normal--19-140-100-100-p-119-iso8859-1
charB18.pcf.gz -bitstream-charter-bold-r-normal--25-180-100-100-p-157-iso8859-1
...
The first line specifies the number of fonts under current directory. Following lines map file names to font names.


Quote:
[fonts.alias]

!! fonts.alias -- automatically generated file. DO NOT EDIT.
!! To modify, see update-fonts-alias(8).
!! /etc/X11/fonts/100dpi/xfonts-100dpi.alias
lucidasans-bolditalic-8 -b&h-lucida-bold-i-normal-sans-11-80-100-100-p-69-iso8859-1
lucidasans-bolditalic-10 -b&h-lucida-bold-i-normal-sans-14-100-100-100-p-90-iso8859-1
lucidasans-bolditalic-12 -b&h-lucida-bold-i-normal-sans-17-120-100-100-p-108-iso8859-1
...
This file maps font alias to font names. So it is clear that once font 'fixed' is needed, the font server search fonts.alias in each font path for a match. If the match exists, the corresponding font file is specified in fonts.dir. If no match exists the X server cannot start.

Hope this helps.

For your needs this would equate to something like: (random font chosen)

[root@kindle 100dpi]# LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./Xephyr-5 :1 -title "L:A_N:application_ID:xephyr_PC:N" -screen 600x800 -cc 4 -dpi 155 -fp /usr/share/fonts/X11/100dpi/ -fn "-bitstream-charter-bold-r-normal--11-80-1
00-100-p-69-iso8859-1"


or with an alias: (other random font)

[root@kindle 100dpi]# LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH Xephyr-5 :1 -title "L:A_N:application_ID:xephyr_PC:N" -screen 600x800 -cc 4 -dpi 155 -fp /usr/share/fonts/X11/100dpi/ -fn "lucidasans-bolditalic-8"
Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_097.png
Views:	38
Size:	5.7 KB
ID:	98917  

Last edited by twobob; 01-06-2013 at 03:33 PM. Reason: added some extra background on what is happening and why.
twobob is offline   Reply With Quote
Old 01-06-2013, 02:35 PM   #21
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 1,860
Karma: 32911546
Join Date: Dec 2011
Device: PW1, Galaxy S5, Galaxy Note 4, Nexus 7 (2013), Nexus 10
I see dpi settings for the font. What about that? The KPW has 212. Twobob used a Kindle Touch that only got 167 (??) dpi. Nice screenshot by the way, its really dark.

edit: mhh, maybe now with the default font switch it will work.

Last edited by DuckieTigger; 01-06-2013 at 02:40 PM.
DuckieTigger is offline   Reply With Quote
Old 01-06-2013, 02:42 PM   #22
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by DuckieTigger View Post
I see dpi settings for the font. What about that? The KPW has 212. Twobob used a Kindle Touch that only got 167 (??) dpi. Nice screenshot by the way, its really dark.

edit: mhh, maybe now with the default font switch it will work.
lol. Xephyr running "as-is" really isn't that exciting.

I am no expert on these font things but I am digging around for what I can find. The solution is there for the taking.
twobob is offline   Reply With Quote
Old 01-06-2013, 03:02 PM   #23
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
I dug a bit further.

( I hid all my main kindle screens via wmctrl to show you this)

[root@kindle 100dpi]# xfd -fn "fixed"

as you can see on mine that would equate to -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1

so... err...

[root@kindle 100dpi]# LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./Xephyr-5 :1 -title "L:A_N:application_ID:xephyr_PC:N" -screen 600x800 -cc 4 -dpi 155 -fp /mnt/us/usr/share/fonts/X11/misc/ -fn "-Misc-Fixed-Medium-R-SemiCondensed--13-120-
75-75-C-60-ISO8859-1"



For you???
Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_098.png
Views:	49
Size:	19.9 KB
ID:	98927  

Last edited by twobob; 01-06-2013 at 08:53 PM. Reason: forgot the picture - duh...
twobob is offline   Reply With Quote
Old 01-06-2013, 03:06 PM   #24
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Although. Back to the thrust of the thread...

A native version of this would be a BAZZZZIIILLION times better.
twobob is offline   Reply With Quote
Old 01-06-2013, 03:53 PM   #25
Wonzling
Member
Wonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshes
 
Posts: 11
Karma: 14046
Join Date: Jan 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by twobob View Post
I suppose you checked

[root@kindle root]# ls -ak /mntususr/share/fonts/x11/100dpi/font*

just to like triple sure???
Yep, files were present.

Tried switches -fn an -fp, what leads to:
Spoiler:
[root@kindle bin]# cd /mnt/us/export/Xephyr-5/bin; LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./Xephyr-5 :1 -fp /mnt/us/usr/share/fonts/truetype/freefont -fn Fre
eMono.ttf -title "L:A_N:application_ID:xephyr_PC:N" -screen 600x800 -cc 4 -dpi 212 &
[root@kindle bin]# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/kindle:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[dix] Could not init font path element /mnt/us/usr/share/fonts/truetype/freefont, removing from list!
[dix] Could not init font path element built-ins, removing from list!

Fatal server error:
could not open default font 'FreeMono.ttf'


Yay, I altered the Error! So, I checked: Path was correct, Font was present... why can't Xephyr use it?

I tried with several fonts and paths, to the same result

Next, I tried
Spoiler:
[root@kindle bin]# xfd -fn "fixed"
Warning: Unable to load any usable fontset


Obvously, there is no font named "fixed" on my KPW?

BTW: In my /usr/share/fonts/X11/misc, there are only three (3) files:
fonts.dir, cursor.pcf and emptycursor.pcf
Is this default, or are fonts missing?

Fumbling a bit with sylpheed, it misses "libsasl2.so.2". I found some in online-Repos, but Sylpheed moans, that they're too short... Like my wife...
Twobob: Do you have that lib in your Debian-stuff?
Wonzling is offline   Reply With Quote
Old 01-06-2013, 03:57 PM   #26
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
read that again - more details added.

http://www.mobileread.com/forums/sho...0&postcount=20

cat /usr/share/fonts/X11/misc/fonts.dir
Quote:
2
emptycursor.pcf emptycursor
cursor.pcf cursor
IIRC this refers to a cursor thingy.

cat some other font dir

[root@kindle 100dpi]# cat /usr/java/lib/fonts/fonts.dir ??? or the ones I sent...

use the font name calls as described by me above... and the correct font path for the reference...

-fn "-misc-code2000-medium-r-normal--0-0-0-0-p-0-iso10646-1"
from
-fp /usr/java/lib/fonts
for example...

Last edited by twobob; 01-06-2013 at 04:08 PM.
twobob is offline   Reply With Quote
Old 01-06-2013, 04:19 PM   #27
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
-fn FreeMono.ttf
that is wrong.

thats why it didnt work


ibsasl2.so.2 <-- REMIND me about this...

Last edited by twobob; 01-06-2013 at 08:56 PM.
twobob is offline   Reply With Quote
Old 01-06-2013, 04:21 PM   #28
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 1,860
Karma: 32911546
Join Date: Dec 2011
Device: PW1, Galaxy S5, Galaxy Note 4, Nexus 7 (2013), Nexus 10
Quote:
Originally Posted by Wonzling View Post

Obvously, there is no font named "fixed" on my KPW?
Why are you so surprised? There is exactly ONE directory in the whole PW that has fonts. And even though the Kindle supports both .otf and .ttf fonts, only .ttf fonts are present on a stock PW. The one directory that has fonts in it is /usr/java/lib/fonts/. Did you expect to have man pages, fonts for X and everything? So if you want fonts, either use the standard fonts that are already there, or install your own (e.g. use the ones from twobob).
DuckieTigger is offline   Reply With Quote
Old 01-07-2013, 02:11 PM   #29
Wonzling
Member
Wonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshes
 
Posts: 11
Karma: 14046
Join Date: Jan 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by DuckieTigger View Post
The one directory that has fonts in it is /usr/java/lib/fonts/. Did you expect to have man pages, fonts for X and everything?
Wellllll, yes in first place Since I know, it's "only" an embedded Linux, I'm not surprised any more.
To me, it sounded like, th "fixed" font is one of the standard ones... so, it wasn't.

But with that info about the font-path you provided, I can get further. Thanks.

Sorry, that I'm not as skilled, as most people in here seem to be, but I'm honestly trying and grateful for any help.

Oliver
Wonzling is offline   Reply With Quote
Old 01-07-2013, 02:15 PM   #30
Wonzling
Member
Wonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshesWonzling can read faster than his screen refreshes
 
Posts: 11
Karma: 14046
Join Date: Jan 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by twobob View Post
read that again - more details added.

http://www.mobileread.com/forums/sho...0&postcount=20
This was helpful. Thanks.
Will try asap.

Oliver
Wonzling is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony Reader Store e-mail notification Bro Pete Deals, Freebies, and Resources (No Self-Promotion) 2 01-12-2011 12:20 PM
Would it be possible for Amazon to re-compile Amazon Reader App for Pocketbook OS dev brecklundin PocketBook 3 09-22-2010 09:04 PM
Sylpheed 2.6.0 for iLiad ericshliao iRex 15 10-05-2009 03:35 AM
An Article on the Sony Reader in the Daily Mail M0zza News 9 09-02-2008 02:12 PM
iLiad Sylpheed Claws? Almagne iRex Developer's Corner 3 11-22-2007 06:54 AM


All times are GMT -4. The time now is 09:07 AM.


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