Re: [opensuse-xorg] Font Path in OpenSuSE 11.3
Now i know a bit more: there is xorg-conf.d we added a 50-files like this: Section "Files" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/URW" FontPath "/usr/share/fonts/Speedo" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/truetype" EndSection and the resulting font path is: Font Path: /usr/share/fonts/misc:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/Type1,/usr/share/fonts/URW,/usr/share/fonts/Spee do,/usr/share/fonts/cyrillic,/usr/share/fonts/truetype,/usr/share/fonts/misc:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75d pi:unscaled Is the X-server now looking for xorg-conf.d/* instead of xorg.conf ? re, wh Am 15.11.2010 13:58, schrieb Stefan Dirsch:
On Mon, Nov 15, 2010 at 01:50:34PM +0100, walter harms wrote:
Hi everybody, we where searching for a wired bug (wrong fontsize) that appeared only in SuSE 11.3. The problem vanished after we added the a xorg.conf file with
Section "Files" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/local" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/Type1" .... EndSection
in short we clipped the section "files" from OS11.2.
Did i miss something ? is there a new place for X11 fonts since 11.3 ?
It shouldn't. Fontpaths are hardcoded as before. Check with "xset" the current fontpath. Could you figure out by using "xset fp" (see "man xset") what's different?
Thanks, Stefan
Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -----------------------------------------------------------------
-- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
On Mon, Nov 15, 2010 at 02:58:36PM +0100, walter harms wrote:
Now i know a bit more:
there is xorg-conf.d
we added a 50-files like this: Section "Files" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/URW" FontPath "/usr/share/fonts/Speedo" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/truetype" EndSection
and the resulting font path is:
Font Path:
/usr/share/fonts/misc:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/Type1,/usr/share/fonts/URW,/usr/share/fonts/Spee do,/usr/share/fonts/cyrillic,/usr/share/fonts/truetype,/usr/share/fonts/misc:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75d pi:unscaled
Is the X-server now looking for xorg-conf.d/* instead of xorg.conf ?
Of course. The idea was not to set these entries. Instead add/remove font path entries on-the-fly to figure out what needs to be changed. Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
Am 15.11.2010 15:32, schrieb Stefan Dirsch:
On Mon, Nov 15, 2010 at 02:58:36PM +0100, walter harms wrote:
Now i know a bit more:
there is xorg-conf.d
we added a 50-files like this: Section "Files" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/URW" FontPath "/usr/share/fonts/Speedo" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/truetype" EndSection
and the resulting font path is:
Font Path:
/usr/share/fonts/misc:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/Type1,/usr/share/fonts/URW,/usr/share/fonts/Spee do,/usr/share/fonts/cyrillic,/usr/share/fonts/truetype,/usr/share/fonts/misc:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75d pi:unscaled
Is the X-server now looking for xorg-conf.d/* instead of xorg.conf ?
Of course. The idea was not to set these entries. Instead add/remove font path entries on-the-fly to figure out what needs to be changed.
i will try tomorrow and report when i find something. re, wh -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
I have some news about the font problem: background: we use for some tools the Xforms-toolkit and found that with OS11.3 some fonts have the wrong size. The problem in our case is: FontPath "/usr/share/fonts/75dpi:unscaled" wenn adding a "files" with this content to xorg-xonf.d everything works fine the wired think is that these path now shows up two times with "xset q". so far we are confused. re, wh Am 15.11.2010 16:11, schrieb walter harms:
Am 15.11.2010 15:32, schrieb Stefan Dirsch:
On Mon, Nov 15, 2010 at 02:58:36PM +0100, walter harms wrote:
Now i know a bit more:
there is xorg-conf.d
we added a 50-files like this: Section "Files" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/URW" FontPath "/usr/share/fonts/Speedo" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/truetype" EndSection
and the resulting font path is:
Font Path:
/usr/share/fonts/misc:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/Type1,/usr/share/fonts/URW,/usr/share/fonts/Spee do,/usr/share/fonts/cyrillic,/usr/share/fonts/truetype,/usr/share/fonts/misc:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75d pi:unscaled
Is the X-server now looking for xorg-conf.d/* instead of xorg.conf ?
Of course. The idea was not to set these entries. Instead add/remove font path entries on-the-fly to figure out what needs to be changed.
i will try tomorrow and report when i find something.
re, wh
-- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
On Wed, Nov 17, 2010 at 11:11:13AM +0100, walter harms wrote:
I have some news about the font problem:
background: we use for some tools the Xforms-toolkit and found that with OS11.3 some fonts have the wrong size.
The problem in our case is: FontPath "/usr/share/fonts/75dpi:unscaled"
wenn adding a "files" with this content to xorg-xonf.d everything works fine
the wired think is that these path now shows up two times with "xset q". so far we are confused.
So it works with the following font path order: /usr/share/fonts/75dpi:unscaled,/usr/share/fonts/misc:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/URW/,/usr/share/fonts/cyrillic:unscaled,/usr/share/fonts/misc/sgi:unscaled,/usr/share/fonts/truetype/,built-ins I guess that then the fonts in 75dpi are preferred by the xforms toolkit. The changed behaviour is a bit weird since we had such a static font path order in xorg.conf (created by SaX2) since about a decade. FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/local" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled" One workaround would be to start the xforms-toolkit applications via a wrapper, which adjusts the font path first xset +fp /usr/share/fonts/75dpi:unscaled; xset fp rehash But since this affects also all other applications, which are still using X11 server side rendering, you can add this line also to your ~/.xinitrc. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
Am 17.11.2010 12:13, schrieb Stefan Dirsch:
On Wed, Nov 17, 2010 at 11:11:13AM +0100, walter harms wrote:
I have some news about the font problem:
background: we use for some tools the Xforms-toolkit and found that with OS11.3 some fonts have the wrong size.
The problem in our case is: FontPath "/usr/share/fonts/75dpi:unscaled"
wenn adding a "files" with this content to xorg-xonf.d everything works fine
the wired think is that these path now shows up two times with "xset q". so far we are confused.
So it works with the following font path order:
/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/misc:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/URW/,/usr/share/fonts/cyrillic:unscaled,/usr/share/fonts/misc/sgi:unscaled,/usr/share/fonts/truetype/,built-ins
I guess that then the fonts in 75dpi are preferred by the xforms toolkit. The changed behaviour is a bit weird since we had such a static font path order in xorg.conf (created by SaX2) since about a decade.
FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/local" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled"
One workaround would be to start the xforms-toolkit applications via a wrapper, which adjusts the font path first
xset +fp /usr/share/fonts/75dpi:unscaled; xset fp rehash
But since this affects also all other applications, which are still using X11 server side rendering, you can add this line also to your ~/.xinitrc.
yep, what is realy strange is that the entry appears double, and it is working. The behavior is reproduceable with a OS11.3 install but not with a live-cd. re, wh -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
On Wed, Nov 17, 2010 at 01:25:48PM +0100, walter harms wrote:
Am 17.11.2010 12:13, schrieb Stefan Dirsch:
On Wed, Nov 17, 2010 at 11:11:13AM +0100, walter harms wrote:
I have some news about the font problem:
background: we use for some tools the Xforms-toolkit and found that with OS11.3 some fonts have the wrong size.
The problem in our case is: FontPath "/usr/share/fonts/75dpi:unscaled"
wenn adding a "files" with this content to xorg-xonf.d everything works fine
the wired think is that these path now shows up two times with "xset q". so far we are confused.
So it works with the following font path order:
/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/misc:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/URW/,/usr/share/fonts/cyrillic:unscaled,/usr/share/fonts/misc/sgi:unscaled,/usr/share/fonts/truetype/,built-ins
I guess that then the fonts in 75dpi are preferred by the xforms toolkit. The changed behaviour is a bit weird since we had such a static font path order in xorg.conf (created by SaX2) since about a decade.
FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/local" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled"
One workaround would be to start the xforms-toolkit applications via a wrapper, which adjusts the font path first
xset +fp /usr/share/fonts/75dpi:unscaled; xset fp rehash
But since this affects also all other applications, which are still using X11 server side rendering, you can add this line also to your ~/.xinitrc.
yep, what is realy strange is that the entry appears double, and it is working.
No, that isn't strange. The path order is hardcoded. Then you add this path at the beginning. If you want to avoid that, just use: xset -fp /usr/share/fonts/75dpi:unscaled xset +fp /usr/share/fonts/75dpi:unscaled xset fp rehash
The behavior is reproduceable with a OS11.3 install but not with a live-cd.
Makes no sense to me. In both cases the path(-order) is hardcoded. Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
participants (2)
-
Stefan Dirsch
-
walter harms