Sean Walmsley wrote:
> Alan:
> 
> Thank you for this information. We now understand why we were not able
> to replicate our Xsun results under Xnewt regardless of how we set the
> font path since Xnewt uses the path differently.
> 
> With your suggested addition of the {:unscaled,:scaled} prefixes which
> we were previously unaware of, we've been able to set a font path that
> fixes our problem application without causing unintended side effects.

Great.

> You mention that in Solaris 11 Express the font path is implemented as
> symlinks in the /etc/X11/fontpath.d - does this implementation still
> support the {:unscaled,:scaled} hints?

Yes - they appear on the link names in the /etc/X11/fontpath.d, along with
a priority number for setting the ordering:

% cd /etc/X11/fontpath.d/
% ls -l
total 90
lrwxrwxrwx   1 root     root          45 Feb 18  2010 100dpi-ISO8859-1:pri=90 ->
../../../usr/share/fonts/X11/100dpi-ISO8859-1/
lrwxrwxrwx   1 root     root          45 Feb 18  2010
100dpi-ISO8859-1:unscaled:pri=20 -> 
../../../usr/share/fonts/X11/100dpi-ISO8859-1/
lrwxrwxrwx   1 root     root          46 Feb 18  2010 100dpi-ISO8859-10:pri=91
-> ../../../usr/share/fonts/X11/100dpi-ISO8859-10/
lrwxrwxrwx   1 root     root          46 Feb 18  2010
100dpi-ISO8859-10:unscaled:pri=21 -> 
../../../usr/share/fonts/X11/100dpi-ISO8859-10/

[... many more since the X11R7 fonts support many more encodings than the ones
 we had in Solaris 10 ...]

So on Solaris 11, the scaled vs. unscaled is already taken care of - but for
Solaris 10, it appears we still need to fix the default font path to do that.

-- 
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to