From: Araki K. <ara...@us...> - 2003-06-08 14:43:12
|
Hi, Subject: [Mlterm-dev-en] hyphens in Xft font names From: Ambrose Li <a....@ie...> Message-ID: <200...@ad...> Date: Thu, 5 Jun 2003 01:01:11 -0400 > I wonder how Xft font names with hyphens (I'm thinking in > particular the font "mikachan-PB") should be handled in > anti-aliased font names (in aafont, etc.). > > fc-list(1) lists such names with a backslash, so I assume that > these hyphens should be "escapable" by prefixing hyphens with > backslashes. > > Another possibility would be to scan the font name backwards, > and skip over two hyphens (the hyphen inside the encoding > name, and then the hyphen separating the family name and the > encoding). > > Either way, parse_xft_font_name() would be be able to use > kik_str_sep(); it cannot handle any of the above ways. > > The following illustrates how the first possible way of handling > this could be coded: Thanks very much:D I didn't notice such a problem. Hmm... I prefer the first possible way and will commit your patch. Please wait till next weekend...(or another committer will commit:D) Good night. -- Araki Ken ara...@us... |