unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Parsing of fontconfig font names and other font related stuff.
@ 2009-07-07 18:57 Jan Djärv
  2009-07-08  0:55 ` Kenichi Handa
  2009-07-08  7:12 ` Yavor Doganov
  0 siblings, 2 replies; 18+ messages in thread
From: Jan Djärv @ 2009-07-07 18:57 UTC (permalink / raw)
  To: Emacs-Devel

Hello.

I'm in the process of getting Emacs to use GConf defaults for font, 
antialiasing, hints and dpi.

The parser in Emacs does not accept "Monospace 8:dpi=96.0".
First float values for dpi is not accepted, even they are floats in fontconfig.
Secondly spaces before the size isn't accepted either, it is assumed to be in 
Gtk+-format when a space is there.

But fc-match do accept that type of font specification, as do all applications 
I tried that has xft.  Admittedly, the docs (the user manual) seem to indicate 
that a '-' is required before the size.

Ideally I wouldn't like to put stuff like dpi in the font string, but instead 
have the appropriate backend use the GConf value if no other value is 
specified.  Where would it be appropriate to insert that information?  In the 
xft-backend or in Ffont-spec, or perhaps somewhere else?

Thanks,

	Jan D.




^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-07-14 14:55 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07 18:57 Parsing of fontconfig font names and other font related stuff Jan Djärv
2009-07-08  0:55 ` Kenichi Handa
2009-07-08  8:36   ` Jan Djärv
2009-07-08 11:27     ` Jason Rumney
2009-07-08 11:34       ` Kenichi Handa
2009-07-08 12:01       ` Jason Rumney
2009-07-08 12:09     ` Jan Djärv
2009-07-08 12:36       ` Kenichi Handa
2009-07-08 13:43         ` Miles Bader
2009-07-08 14:29           ` Jan Djärv
2009-07-08 22:54             ` Miles Bader
2009-07-08 14:07         ` Jan Djärv
2009-07-08  7:12 ` Yavor Doganov
2009-07-08  8:56   ` Jan Djärv
2009-07-08 10:01     ` Yavor Doganov
2009-07-08 11:42       ` Jan Djärv
2009-07-08 13:12         ` Yavor Doganov
2009-07-14 14:55     ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).