FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 04-01-2011, 10:20 PM
Noriko Hosoi
 
Default 389-console fonts issue

(2011年04月01日 13:07), Orion Poplawski wrote:
I've
got a strange issue that I find annoying.* My desktop machine is
running Fedora 14.* If I ssh to my 389 server and run 389-console
there, the fonts are messed up (see attached snapshot).*
Everything is fine though if I run the console from my desktop.*
Also, this used to be fine, but some update long ago seems to have
caused it.




Any thoughts or ideas on how to debug?* I ran a diff of -D 9 -f
console.log output from the two and no smoking guns there.








--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Could you please run this query against your configuration directory
server and do base64-decoding the nsPreference value?

$ ldapsearch -x -h <host> -p <port> -D 'cn=directory
manager' -w <pw> -b "o=netscaperoot" "(cn=fonts)"

dn:
cn=Fonts,ou=1.1,ou=Console,ou=uid3Dadmin2Cou3DAdmi nistrators2Cou3DTop

*ologyManagement2Co3DNetscapeRoot,ou=UserPreferen ces,ou=usersys.redhat.com,

*o=NetscapeRoot

cn: Fonts

objectClass: top

objectClass: nsAdminConsoleUser

nsPreference::
IwojRnJpIEFwciAwMSAxNToxMDoxMSBQRFQgMjAxMQpDT05UUk 9MUz1TYW5zU2

*VyaWZcOjBcOjExClNUQVRVUz1TYW5zU2VyaWZcOjBcOjExCk RBVEFfVkFSSUFCTEU9U2Fuc1Nlcm

*lmXDowXDoxMQpUQVNLPVNhbnNTZXJpZlw6MFw6MTgKVElUTE U9U2Fuc1NlcmlmXDowXDoxOApEQV

*RBX0ZJWEVEPU1vbm9zcGFjZWRcOjBcOjExCg==



This is my decoded preference (default setting):

#

#Fri Apr 01 15:10:11 PDT 2011

CONTROLS=SansSerif:0:11

STATUS=SansSerif:0:11

DATA_VARIABLE=SansSerif:0:11

TASK=SansSerif:0:18

TITLE=SansSerif:0:18

DATA_FIXED=Monospaced:0:11





--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-04-2011, 05:30 PM
Orion Poplawski
 
Default 389-console fonts issue

On 04/01/2011 04:20 PM, Noriko Hosoi wrote:
> (2011年04月01日 13:07), Orion Poplawski wrote:
>> I've got a strange issue that I find annoying. My desktop machine is running
>> Fedora 14. If I ssh to my 389 server and run 389-console there, the fonts
>> are messed up (see attached snapshot). Everything is fine though if I run
>> the console from my desktop. Also, this used to be fine, but some update
>> long ago seems to have caused it.
>>
>> Any thoughts or ideas on how to debug? I ran a diff of -D 9 -f console.log
>> output from the two and no smoking guns there.
>>
> Could you please run this query against your configuration directory server
> and do base64-decoding the nsPreference value?
> $ ldapsearch -x -h <host> -p <port> -D 'cn=directory manager' -w <pw> -b
> "o=netscaperoot" "(cn=fonts)"

Don't seem to have a preference.

# Fonts, 1.1, Console, uid3Dadmin2Cou3DAdministrators2Cou3DTopologyManag
ement2Co3DNetscapeRoot, UserPreferences, nwra.com, NetscapeRoot
dn: cn=Fonts,ou=1.1,ou=Console,ou=uid3Dadmin2Cou3DAdmi nistrators2Cou3DTop
ologyManagement2Co3DNetscapeRoot,ou=UserPreference s,ou=nwra.com,o=NetscapeR
oot
cn: Fonts
objectClass: top
objectClass: nsAdminConsoleUser


--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-04-2011, 05:45 PM
Noriko Hosoi
 
Default 389-console fonts issue

On 04/04/2011 10:30 AM, Orion Poplawski wrote:
> On 04/01/2011 04:20 PM, Noriko Hosoi wrote:
>> (2011年04月01日 13:07), Orion Poplawski wrote:
>>> I've got a strange issue that I find annoying. My desktop machine is running
>>> Fedora 14. If I ssh to my 389 server and run 389-console there, the fonts
>>> are messed up (see attached snapshot). Everything is fine though if I run
>>> the console from my desktop. Also, this used to be fine, but some update
>>> long ago seems to have caused it.
>>>
>>> Any thoughts or ideas on how to debug? I ran a diff of -D 9 -f console.log
>>> output from the two and no smoking guns there.
>>>
>> Could you please run this query against your configuration directory server
>> and do base64-decoding the nsPreference value?
>> $ ldapsearch -x -h<host> -p<port> -D 'cn=directory manager' -w<pw> -b
>> "o=netscaperoot" "(cn=fonts)"
> Don't seem to have a preference.
>
> # Fonts, 1.1, Console, uid3Dadmin2Cou3DAdministrators2Cou3DTopologyManag
> ement2Co3DNetscapeRoot, UserPreferences, nwra.com, NetscapeRoot
> dn: cn=Fonts,ou=1.1,ou=Console,ou=uid3Dadmin2Cou3DAdmi nistrators2Cou3DTop
> ologyManagement2Co3DNetscapeRoot,ou=UserPreference s,ou=nwra.com,o=NetscapeR
> oot
> cn: Fonts
> objectClass: top
> objectClass: nsAdminConsoleUser
>
Then, what happens if you add this attribute value to the entry?

nsPreference::
IwojRnJpIEFwciAwMSAxNToxMDoxMSBQRFQgMjAxMQpDT05UUk 9MUz1TYW5zU2
VyaWZcOjBcOjExClNUQVRVUz1TYW5zU2VyaWZcOjBcOjExCkRB VEFfVkFSSUFCTEU9U2Fuc1Nlcm
lmXDowXDoxMQpUQVNLPVNhbnNTZXJpZlw6MFw6MTgKVElUTEU9 U2Fuc1NlcmlmXDowXDoxOApEQV
RBX0ZJWEVEPU1vbm9zcGFjZWRcOjBcOjExCg==
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-04-2011, 08:17 PM
Orion Poplawski
 
Default 389-console fonts issue

On 04/04/2011 11:45 AM, Noriko Hosoi wrote:
> Then, what happens if you add this attribute value to the entry?
>
> nsPreference::
> IwojRnJpIEFwciAwMSAxNToxMDoxMSBQRFQgMjAxMQpDT05UUk 9MUz1TYW5zU2
> VyaWZcOjBcOjExClNUQVRVUz1TYW5zU2VyaWZcOjBcOjExCkRB VEFfVkFSSUFCTEU9U2Fuc1Nlcm
> lmXDowXDoxMQpUQVNLPVNhbnNTZXJpZlw6MFw6MTgKVElUTEU9 U2Fuc1NlcmlmXDowXDoxOApEQV
> RBX0ZJWEVEPU1vbm9zcGFjZWRcOjBcOjExCg==

No difference. If I go through the font preferences dialog though, it appears
that SansSerif is getting mapped to Dialog or DialogInput which is not
rendering well. How do I track java font substitutions or find out where the
Dialog font is coming from?

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-04-2011, 08:50 PM
Orion Poplawski
 
Default 389-console fonts issue

On 04/04/2011 02:17 PM, Orion Poplawski wrote:
> On 04/04/2011 11:45 AM, Noriko Hosoi wrote:
>> Then, what happens if you add this attribute value to the entry?
>>
>> nsPreference::
>> IwojRnJpIEFwciAwMSAxNToxMDoxMSBQRFQgMjAxMQpDT05UUk 9MUz1TYW5zU2
>> VyaWZcOjBcOjExClNUQVRVUz1TYW5zU2VyaWZcOjBcOjExCkRB VEFfVkFSSUFCTEU9U2Fuc1Nlcm
>> lmXDowXDoxMQpUQVNLPVNhbnNTZXJpZlw6MFw6MTgKVElUTEU9 U2Fuc1NlcmlmXDowXDoxOApEQV
>> RBX0ZJWEVEPU1vbm9zcGFjZWRcOjBcOjExCg==
>
> No difference. If I go through the font preferences dialog though, it appears
> that SansSerif is getting mapped to Dialog or DialogInput which is not
> rendering well. How do I track java font substitutions or find out where the
> Dialog font is coming from?
>

I can manually set them all to Bitstream Sans and that gets most of the fonts
working. The login screen and some drop down lists are still bad though - so
the fonts used in those must not use configured values.

Looks the problem fonts are Hershey fonts installed from ghostscript-fonts.
Not sure how to exclude them or why they are being chosen.

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 

Thread Tools




All times are GMT. The time now is 04:12 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org