The second release candidate for fontconfig 2.5 is released, thanks much to Behdad for fixing a bunch of bugs and providing numerous Fedora patches to improve the default configuration. Major changes since 2.4.91 (2.5 RC1): * Documentation added for all functions (automatically verified too) * Fedora configuration changes merged in * Two function name typos fixed (ever wonder what ''Inverval'' meant?) * New APIs FcLangGetCharSet and FcGetLangs exposes fontconfig lang db * New .so minor version (required as new functions are included now) 09938068afa9193d8872271597b9fd470b833801e7d40cd299cc3185b3e78c37 fontconfig-2.4.92.tar.gz d0225b8a2b995898960dfd25dd3bb8e9bf585d9333f8d904b34f958ea639384f ChangeLog-2.4.92 b/.gitignore | 3 b/README | 49 ++++ b/conf.d/10-autohint.conf | 1 b/conf.d/10-no-sub-pixel.conf | 1 b/conf.d/10-sub-pixel-bgr.conf | 1 b/conf.d/10-sub-pixel-rgb.conf | 1 b/conf.d/10-sub-pixel-vbgr.conf | 1 b/conf.d/10-sub-pixel-vrgb.conf | 1 b/conf.d/10-unhinted.conf | 1 b/conf.d/20-fix-globaladvance.conf | 1 b/conf.d/20-unhint-small-vera.conf | 1 b/conf.d/25-unhint-nonlatin.conf | 227 ++++++++++++++++++++++ b/conf.d/30-metric-aliases.conf | 211 ++++++++++++++++++++ b/conf.d/30-urw-aliases.conf | 28 -- b/conf.d/40-nonlatin.conf | 51 ++++ b/conf.d/45-latin.conf | 56 +++++ b/conf.d/50-user.conf | 1 b/conf.d/51-local.conf | 1 b/conf.d/65-fonts-persian.conf | 378 +++++++++++-------------------------- b/conf.d/65-nonlatin.conf | 45 ++++ b/conf.d/70-no-bitmaps.conf | 1 b/conf.d/70-yes-bitmaps.conf | 1 b/conf.d/80-delicious.conf | 1 b/conf.d/Makefile.am | 13 - b/conf.d/README | 37 --- b/configure.in | 6 b/doc/Makefile.am | 20 + b/doc/check-missing-doc | 23 ++ b/doc/edit-sgml.c | 86 +++++--- b/doc/fcatomic.fncs | 6 b/doc/fccache.fncs | 68 ++++++ b/doc/fccharset.fncs | 24 ++ b/doc/fcconfig.fncs | 53 ++++- b/doc/fcdircache.fncs | 88 ++++++++ b/doc/fcfile.fncs | 34 ++- b/doc/fcfontset.fncs | 83 ++++++++ b/doc/fcfreetype.fncs | 26 ++ b/doc/fclangset.fncs | 140 +++++++++++++ b/doc/fcmatrix.fncs | 2 b/doc/fcpattern.fncs | 58 +++++ b/doc/fcstring.fncs | 93 +++++++-- b/doc/fcstrset.fncs | 11 + b/doc/fcvalue.fncs | 21 ++ b/doc/fontconfig-devel.sgml | 59 +++++ b/fc-cache/fc-cache.c | 10 b/fc-match/fc-match.c | 20 + b/fontconfig/Makefile.am | 3 b/fontconfig/fontconfig.h | 45 +++- b/fonts.dtd | 2 b/src/Makefile.am | 4 b/src/fccache.c | 3 b/src/fccfg.c | 40 ++- b/src/fcdeprecate.h | 36 +++ b/src/fcint.h | 99 +++++++++ b/src/fclang.c | 28 ++ b/src/fcxml.c | 58 +++-- conf.d/20-lohit-gujarati.conf | 11 - conf.d/30-amt-aliases.conf | 21 -- conf.d/40-generic.conf | 66 ------ fontconfig/fcprivate.h | 123 ------------ 60 files changed, 1863 insertions(+), 719 deletions(-) Behdad Esfahbod (14): Make fc-match --sort call FcFontRenderPrepare. Port fonts-persian.conf to new alias syntax with binding="same" Fix trivial bugs in edit-sgml.c Add FcGetLangs() and FcLangGetCharSet(). Add/update config files from Fedora. Split 40-generic.conf into 40-nonlatin.conf and 45-latin.conf Use binding="same" in 30-urw-aliases.conf and remove duplicate entries. Remove redundant/obsolete comments from conf files. Remove 20-lohit-gujarati.conf. It''s covered by 25-unhint-nonlatin.conf now. Oops, fix Makefile.am. Remove 25-unhint-nonlatin.conf from default configuration by not linking it. Fix documented conf-file naming format in README Remove list of available conf files from README. Simplify/improve 30-metric-aliases.conf Keith Packard (25): Also check configDirs mtimes in FcConfigUptoDate Respect "binding" attribute in <alias> entries. Correct documentation for FcAtomicLock (Bug 12947). Remove fcprivate.h, move the remaining macros to fcint.h. Correct documentation for FcConfigUptoDate (bug 12948). Document skipping of fonts from FcFileScan/FcDirScan. Make file_stat argument to FcDirCacheLoadFile optional. Clean up exported names in fontconfig.h. Track line numbers in sgml edit tool input. Typo error in function name: Inverval -> interval Don''t check cache file time stamps when cleaning cache dir. Use FcLangDifferentTerritory instead of FcLangDifferentCountry. Verify documentation covers exposed symbols. Document previously undocumented functions. (bug 12963) Update documentation for FcStrCopyFilename (bug 12964). Update documentation for stale FcConfigGetConfig function. Have FcConfigSetCurrent accept the current configuration and simply return Remove references to FcConfigParse and FcConfigLoad. Replace incorrect documentation uses of ''char'' with ''FcChar8'' (bug 13002). Fix formatting syntax in doc/fccache.fncs Generate fccache.sgml, fcdircache.sgml and fclangset.sgml. Formatting syntax mistake in doc/fclangset.fncs. Link new function documentation into the fontconfig-devel.sgml Ignore new generated documentation Export FcConfig{G,S}etRescanInverval from .so, mark as deprecated. -- keith.packard at intel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20071105/941069c6/attachment.pgp
Le lundi 05 novembre 2007 ? 16:22 -0800, Keith Packard a ?crit :> The second release candidate for fontconfig 2.5 is released, thanks much > to Behdad for fixing a bunch of bugs and providing numerous Fedora > patches to improve the default configuration.Before I forget (I wanted to push that for a long time and never find enough time to do so), and since Bedhad started to push Fedora patches, I''d like to push some configuration patches we have in Mandriva. It is adding more fonts to 60-latin.conf, 65-non-latin.conf and 69-unifont.conf. Bedhad might want to look at 65-non-latin.conf, we are adding one or two Persian fonts, which might be better in 65-fonts-persian.conf but I prefer to have him doing the move between files. Moreover, it is adding some informations about locales impacted by fonts. -- Frederic Crozat <fcrozat at mandriva.com> Mandriva -------------- next part -------------- A non-text attachment was scrubbed... Name: fontconfig-2.4.92-mdvconfig.patch Type: text/x-patch Size: 7156 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20071106/4cf1c5e8/attachment.bin
On Tue, 2007-11-06 at 15:06 +0100, Frederic Crozat wrote:> Le lundi 05 novembre 2007 ? 16:22 -0800, Keith Packard a ?crit : > > The second release candidate for fontconfig 2.5 is released, thanks much > > to Behdad for fixing a bunch of bugs and providing numerous Fedora > > patches to improve the default configuration. > > Before I forget (I wanted to push that for a long time and never find > enough time to do so), and since Bedhad started to push Fedora patches, > I''d like to push some configuration patches we have in Mandriva.Thanks! <alias> <family>sans-serif</family> <prefer> + <family>BPG Glaho International</family> <!-- lat,cyr,arab,geor --> <family>Bitstream Vera Sans</family> Are you really meaning to replace Vera Sans as the default sans-serif face here?> It is adding more fonts to 60-latin.conf, 65-non-latin.conf and > 69-unifont.conf. Bedhad might want to look at 65-non-latin.conf, we are > adding one or two Persian fonts, which might be better in > 65-fonts-persian.conf but I prefer to have him doing the move between > files. Moreover, it is adding some informations about locales impacted > by fonts.documentation is always helpful, thanks for the changes. I didn''t appear to receive the file in UTF-8 encoding, so I''m not sure about some of the non-Latin names. Can you check your mailer and see about ensuring that the attachment isn''t getting scrambled? -- keith.packard at intel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20071106/147f17d7/attachment.pgp
Le mardi 06 novembre 2007 ? 10:57 -0800, Keith Packard a ?crit :> On Tue, 2007-11-06 at 15:06 +0100, Frederic Crozat wrote: > > Le lundi 05 novembre 2007 ? 16:22 -0800, Keith Packard a ?crit : > > > The second release candidate for fontconfig 2.5 is released, thanks much > > > to Behdad for fixing a bunch of bugs and providing numerous Fedora > > > patches to improve the default configuration. > > > > Before I forget (I wanted to push that for a long time and never find > > enough time to do so), and since Bedhad started to push Fedora patches, > > I''d like to push some configuration patches we have in Mandriva. > > Thanks! > > <alias> > <family>sans-serif</family> > <prefer> > + <family>BPG Glaho International</family> <!-- lat,cyr,arab,geor --> > <family>Bitstream Vera Sans</family> > > Are you really meaning to replace Vera Sans as the default sans-serif face here?I must confess this was added a long time ago (before DejaVu / Vera) by our i18n specialist and I didn''t touched it since. I think it can be be at the end of the list. I have another related question : we have some additional changes in our Mandriva patch (that I didn''t include it this patch) on the font ordering and I was wondering if it was relevant for upstream : for serif and sans-serif, we are favoring DejaVu over Bitstream Vera (since Vera is not changing anymore, unlike DejaVu which is also changing for latin glyphs). Should we do the same upstream ? Related question : we are favoring free fonts (also because we aren''t enabling patented bytecode interpreter) over MS fonts, by pushing Luxi and Nimbus over Verdana and Arial (or Andale Mono, Courier New). Do you think it is a good idea and still needed, with Liberation fonts around now ?> > It is adding more fonts to 60-latin.conf, 65-non-latin.conf and > > 69-unifont.conf. Bedhad might want to look at 65-non-latin.conf, we are > > adding one or two Persian fonts, which might be better in > > 65-fonts-persian.conf but I prefer to have him doing the move between > > files. Moreover, it is adding some informations about locales impacted > > by fonts. > > documentation is always helpful, thanks for the changes. > > I didn''t appear to receive the file in UTF-8 encoding, so I''m not sure > about some of the non-Latin names. Can you check your mailer and see > about ensuring that the attachment isn''t getting scrambled?Strange, it looks UTF-8 to me, I''ve checked the mail received on the mailing list. Moreover, we are both using evolution 2.12.0. I''ve attached a new version of the patch, done with git this time. -- Frederic Crozat <fcrozat at mandriva.com> Mandriva -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Add-more-fonts-to-aliases-document-locales-using-th.patch Type: application/mbox Size: 0 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20071107/6eb399ed/attachment.bin
Le mercredi 07 novembre 2007 ? 11:46 +0100, Frederic Crozat a ?crit :> Le mardi 06 novembre 2007 ? 10:57 -0800, Keith Packard a ?crit : > > On Tue, 2007-11-06 at 15:06 +0100, Frederic Crozat wrote: > > > Le lundi 05 novembre 2007 ? 16:22 -0800, Keith Packard a ?crit : > > > > The second release candidate for fontconfig 2.5 is released, thanks much > > > > to Behdad for fixing a bunch of bugs and providing numerous Fedora > > > > patches to improve the default configuration. > > > > > > Before I forget (I wanted to push that for a long time and never find > > > enough time to do so), and since Bedhad started to push Fedora patches, > > > I''d like to push some configuration patches we have in Mandriva. > > > > Thanks! > > > > <alias> > > <family>sans-serif</family> > > <prefer> > > + <family>BPG Glaho International</family> <!-- lat,cyr,arab,geor --> > > <family>Bitstream Vera Sans</family> > > > > Are you really meaning to replace Vera Sans as the default sans-serif face here? > > I must confess this was added a long time ago (before DejaVu / Vera) by > our i18n specialist and I didn''t touched it since. > > I think it can be be at the end of the list. > > I have another related question : we have some additional changes in our > Mandriva patch (that I didn''t include it this patch) on the font > ordering and I was wondering if it was relevant for upstream : > > for serif and sans-serif, we are favoring DejaVu over Bitstream Vera > (since Vera is not changing anymore, unlike DejaVu which is also > changing for latin glyphs). Should we do the same upstream ? > > Related question : we are favoring free fonts (also because we aren''t > enabling patented bytecode interpreter) over MS fonts, by pushing Luxi > and Nimbus over Verdana and Arial (or Andale Mono, Courier New). Do you > think it is a good idea and still needed, with Liberation fonts around > now ? > > > > It is adding more fonts to 60-latin.conf, 65-non-latin.conf and > > > 69-unifont.conf. Bedhad might want to look at 65-non-latin.conf, we are > > > adding one or two Persian fonts, which might be better in > > > 65-fonts-persian.conf but I prefer to have him doing the move between > > > files. Moreover, it is adding some informations about locales impacted > > > by fonts. > > > > documentation is always helpful, thanks for the changes. > > > > I didn''t appear to receive the file in UTF-8 encoding, so I''m not sure > > about some of the non-Latin names. Can you check your mailer and see > > about ensuring that the attachment isn''t getting scrambled? > > Strange, it looks UTF-8 to me, I''ve checked the mail received on the > mailing list. Moreover, we are both using evolution 2.12.0. > > I''ve attached a new version of the patch, done with git this time.Hmm, it seems my new patch missed 2.5.0. Is there problem about it ? I can split it into non controversial parts and parts which must be discussed. -- Fr?d?ric Crozat <fcrozat at mandriva.com> Mandriva
On Wed, 2007-11-14 at 10:08 +0100, Fr?d?ric Crozat wrote:> Hmm, it seems my new patch missed 2.5.0. Is there problem about it ?I''m afraid it was sitting lost in my mailbox and wasn''t stuck in bugzilla where I was looking for things that hadn''t been applied. I''m not sure it''s quite right yet as it moves a lot of new fonts ahead of existing names, which may change what fonts people see. We already found issues with one of the fonts that Behdad added to the configuration (which uncovered a cairo bug). Let''s plan on merging this for the next release so we can get some testing on the various development distros before inflicting it on the world in any case. -- keith.packard at intel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20071114/36bd2d07/attachment.pgp
Le mercredi 14 novembre 2007 ? 07:32 -0800, Keith Packard a ?crit :> On Wed, 2007-11-14 at 10:08 +0100, Fr?d?ric Crozat wrote: > > > Hmm, it seems my new patch missed 2.5.0. Is there problem about it ? > > I''m afraid it was sitting lost in my mailbox and wasn''t stuck in > bugzilla where I was looking for things that hadn''t been applied. I''m > not sure it''s quite right yet as it moves a lot of new fonts ahead of > existing names, which may change what fonts people see. We already found > issues with one of the fonts that Behdad added to the configuration > (which uncovered a cairo bug). Let''s plan on merging this for the next > release so we can get some testing on the various development distros > before inflicting it on the world in any case.No problem. I''ve just filled a bug https://bugs.freedesktop.org/show_bug.cgi?id=13247 so it won''t be forgotten. For the record, those changes have been used for years in Mandriva distributions and I didn''t got any bug reports about them ;) The main problem about order is to get feedback for users in the various countries concerned by those changes. Our changes were done by our i18n guy, based on i18n team output (but things might have changed since). -- Fr?d?ric Crozat <fcrozat at mandriva.com> Mandriva