On Sunday 16 September 2001 19:37, Keith Packard wrote:
|   I've been busy writing a paper on Xft and thinking about face aliases.  I
|   believe there are two essential reasons to use aliasing -- the primary
| one is to provide suitable replacements when the requested face is not
| installed.  A secondary one is to expose preferences for "better" looking
| faces, and to provide for well-known artificial names.  I think both of
| these can be resolved with a relatively simple syntax:
|
|   alias "serif" prefer "Times";
|   alias "Times" prefer "Times New Roman" accept "Charter","LuciduxSerif";
|
|   These are semantically equivalent to the following match/edit rules:
|
|   match
|       any family == "serif"
|   edit
|       family += "Times";
|
|   match
|       any family == "Times"
|   edit
|       family += "Times New Roman";
|       family =+ "LuciduxSerif";
|       family =+ "Charter";

Yes,  alias "Times" prefer "Times New Roman" accept "Charter","LuciduxSerif";
is much, much better than example above (match/edit)

I was not aware about possibility of using += and =+ (and differences about 
them)
Thanks for implementing new syntax.
By the way, will this go to XFree 4.1 branch?

[...]
|
|   [EMAIL PROTECTED]    XFree86 Core Team              SuSE, Inc.

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
Do you have Arial font installed? Just test it!
http://kde2.newmail.ru/font_test_arial.html
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to