[PATCH xserver] meson: Add option to set default font path (v2)

Adam Jackson ajax at redhat.com
Tue Mar 27 16:57:05 UTC 2018


On Tue, 2018-03-27 at 09:47 -0700, Keith Packard wrote:
> Adam Jackson <ajax at redhat.com> writes:
> 
> > +    default_font_path = ','.join([
> > +        join_paths(fontrootdir, 'misc'),
> > +        join_paths(fontrootdir, 'TTF'),
> > +        join_paths(fontrootdir, 'OTF'),
> > +        join_paths(fontrootdir, 'Type1'),
> > +        join_paths(fontrootdir, '75dpi'),
> > +        join_paths(fontrootdir, '100dpi'),
> 
> So close! The current default sticks 100dpi ahead of 75dpi.

Gah. Was looking at the XORG_FONTSUBDIR lines not the
DEFAULT_FONT_PATH= line.

> Do we care about using meson for OS X yet? There are some extra paths
> added in that case (/Library/Fonts and /System/Library/Fonts).

I'd like it to work there at some point, but atm build_xquartz is
always false, and dmx fails to link for some reason.

> With the bitmap fonts reversed, this is
> 
> Reviewed-by: Keith Packard <keithp at keithp.com>

Reversed and merged, thanks:

remote: E: failed to find patch for rev 73a0562615aa1adfb934b953e23b1e69b126db4f.
remote: I: 0 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   64b3227374..73a0562615  master -> master

- ajax


More information about the xorg-devel mailing list