Bug 76538

Summary: config file description support
Product: fontconfig Reporter: Akira TAGOH <akira>
Component: libraryAssignee: Akira TAGOH <akira>
Status: RESOLVED FIXED QA Contact: Behdad Esfahbod <freedesktop>
Severity: normal    
Priority: medium CC: fontconfig-bugs, freedesktop
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Comment 1 Akira TAGOH 2014-04-04 09:31:14 UTC
proposed changes on this feature:
  http://cgit.freedesktop.org/~tagoh/fontconfig/commit/?h=ruleset-description
Comment 2 Akira TAGOH 2014-04-04 09:36:46 UTC
The result of fc-conflist, I added to show the enabled/installed config files:

$ FONTCONFIG_PATH=. ./fc-conflist/fc-conflist
+ ./conf.d/10-autohint.conf: Enable autohinter
+ ./conf.d/10-no-sub-pixel.conf: Disable sub-pixel rendering
+ ./conf.d/10-scale-bitmap-fonts.conf: No description
+ ./conf.d/10-sub-pixel-bgr.conf: Enable sub-pixel rendering with the BGR stripes layout
+ ./conf.d/10-sub-pixel-rgb.conf: Enable sub-pixel rendering with the RGB stripes layout
+ ./conf.d/10-sub-pixel-vbgr.conf: Enable sub-pixel rendering with the vertical BGR stripes layout
+ ./conf.d/10-sub-pixel-vrgb.conf: Enable sub-pixel rendering with the vertical RGB stripes layout
+ ./conf.d/10-unhinted.conf: Disable hinting
+ ./conf.d/11-lcdfilter-default.conf: Use lcddefault as default for LCD filter
+ ./conf.d/11-lcdfilter-legacy.conf: Use lcdlegacy as default for LCD filter
+ ./conf.d/11-lcdfilter-light.conf: Use lcdlight as default for LCD filter
+ ./conf.d/20-unhint-small-vera.conf: Disable hinting for Bitstream Vera fonts when the size is less than 8ppem
+ ./conf.d/25-unhint-nonlatin.conf: Disable hinting for CJK fonts
+ ./conf.d/30-metric-aliases.conf: Set substitutions for similar/metric-compatible families
+ ./conf.d/30-urw-aliases.conf: Set substitutions for URW fonts
+ ./conf.d/40-nonlatin.conf: Set substitutions for non-Latin fonts
+ ./conf.d/45-latin.conf: Set substitutions for Latin fonts
+ ./conf.d/48-familyclass.conf: Substitute familyclass for family
+ ./conf.d/49-sansserif.conf: Add sans-serif to the family when no generic name
+ /home/tagoh/.config/fontconfig/conf.d/00-test.conf: No description
+ ./conf.d/50-user.conf: Load per-user customization files
+ local.conf: local customizations
+ ./conf.d/51-local.conf: Load local customization file
+ ./conf.d/60-latin.conf: Set preferable fonts for Latin
+ ./conf.d/65-fonts-persian.conf: No description
+ ./conf.d/65-khmer.conf: No description
+ ./conf.d/65-nonlatin.conf: Set preferable fonts for non-Latin
+ ./conf.d/69-unifont.conf: No description
+ ./conf.d/70-no-bitmaps.conf: Reject bitmap fonts
+ ./conf.d/70-yes-bitmaps.conf: Accept bitmap fonts
+ ./conf.d/80-delicious.conf: No description
+ ./conf.d/90-synthetic.conf: No description
+ fonts.conf: Default configuration file
- /usr/share/fontconfig/conf.avail/10-autohint.conf: No description
- /usr/share/fontconfig/conf.avail/10-no-sub-pixel.conf: No description
- /usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf: No description
- /usr/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf: No description
- /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf: No description
- /usr/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf: No description
- /usr/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf: No description
- /usr/share/fontconfig/conf.avail/10-unhinted.conf: No description
- /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf: No description
- /usr/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf: No description
- /usr/share/fontconfig/conf.avail/11-lcdfilter-light.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-lgc-sans-mono.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-sans-mono.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-sans.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-serif.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-vera.conf: No description
- /usr/share/fontconfig/conf.avail/25-unhint-nonlatin.conf: No description
- /usr/share/fontconfig/conf.avail/29-linux-libertine-metrics-alias.conf: No description
- /usr/share/fontconfig/conf.avail/30-0-google-crosextra-caladea-fontconfig.conf: No description
- /usr/share/fontconfig/conf.avail/30-0-google-crosextra-carlito-fontconfig.conf: No description
- /usr/share/fontconfig/conf.avail/30-metric-aliases.conf: No description
- /usr/share/fontconfig/conf.avail/30-urw-aliases.conf: No description
- /usr/share/fontconfig/conf.avail/31-cantarell.conf: No description
- /usr/share/fontconfig/conf.avail/40-nonlatin.conf: No description
- /usr/share/fontconfig/conf.avail/45-latin.conf: No description
- /usr/share/fontconfig/conf.avail/49-sansserif.conf: No description
- /usr/share/fontconfig/conf.avail/50-user.conf: No description
- /usr/share/fontconfig/conf.avail/51-local.conf: No description
- /usr/share/fontconfig/conf.avail/57-dejavu-sans-mono.conf: No description
- /usr/share/fontconfig/conf.avail/57-dejavu-sans.conf: No description
- /usr/share/fontconfig/conf.avail/57-dejavu-serif.conf: No description
- /usr/share/fontconfig/conf.avail/57-paratype-pt-sans.conf: No description
- /usr/share/fontconfig/conf.avail/58-dejavu-lgc-sans-mono.conf: No description
- /usr/share/fontconfig/conf.avail/59-liberation-mono.conf: No description
- /usr/share/fontconfig/conf.avail/59-liberation-sans.conf: No description
- /usr/share/fontconfig/conf.avail/59-liberation-serif.conf: No description
- /usr/share/fontconfig/conf.avail/60-latin.conf: No description
- /usr/share/fontconfig/conf.avail/60-linux-libertine-libertine.conf: No description
- /usr/share/fontconfig/conf.avail/61-linux-libertine-biolinum.conf: No description
- /usr/share/fontconfig/conf.avail/61-stix-math.conf: No description
- /usr/share/fontconfig/conf.avail/61-stix.conf: No description
- /usr/share/fontconfig/conf.avail/62-google-crosextra-caladea-fontconfig.conf: No description
- /usr/share/fontconfig/conf.avail/62-google-crosextra-carlito-fontconfig.conf: No description
- /usr/share/fontconfig/conf.avail/63-dustin-dustismo-sans.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-gubbi.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-jomolhari.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-khmeros-base.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-lohit-assamese.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-lohit-bengali.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-lohit-devanagari.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-lohit-gujarati.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-lohit-kannada.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-lohit-oriya.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-lohit-punjabi.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-lohit-tamil.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-lohit-telugu.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-madan.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-nhn-nanum-gothic.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-nhn-nanum-myeongjo.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-smc-meera.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-ttf-arphic-uming.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-vlgothic-pgothic.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-wqy-zenhei-sharp.conf: No description
- /usr/share/fontconfig/conf.avail/65-0-wqy-zenhei.conf: No description
- /usr/share/fontconfig/conf.avail/65-1-hanazono.conf: No description
- /usr/share/fontconfig/conf.avail/65-1-un-core-dotum.conf: No description
- /usr/share/fontconfig/conf.avail/65-1-vlgothic-gothic.conf: No description
- /usr/share/fontconfig/conf.avail/65-2-ipa-ex-gothic.conf: No description
- /usr/share/fontconfig/conf.avail/65-2-ipa-ex-mincho.conf: No description
- /usr/share/fontconfig/conf.avail/65-2-ipa-mincho.conf: No description
- /usr/share/fontconfig/conf.avail/65-2-ipa-pgothic.conf: No description
- /usr/share/fontconfig/conf.avail/65-2-ipa-pmincho.conf: No description
- /usr/share/fontconfig/conf.avail/65-3-ipa-gothic.conf: No description
- /usr/share/fontconfig/conf.avail/65-4-motoya-lcedar.conf: No description
- /usr/share/fontconfig/conf.avail/65-4-motoya-lmaru.conf: No description
- /usr/share/fontconfig/conf.avail/65-culmus-caladings-clm.conf: No description
- /usr/share/fontconfig/conf.avail/65-fonts-persian.conf: No description
- /usr/share/fontconfig/conf.avail/65-khmer.conf: No description
- /usr/share/fontconfig/conf.avail/65-lklug.conf: No description
- /usr/share/fontconfig/conf.avail/65-nonlatin.conf: No description
- /usr/share/fontconfig/conf.avail/65-sil-padauk.conf: No description
- /usr/share/fontconfig/conf.avail/65-wqy-microhei.conf: No description
- /usr/share/fontconfig/conf.avail/66-sil-abyssinica.conf: No description
- /usr/share/fontconfig/conf.avail/67-nafees-nastaleeq.conf: No description
- /usr/share/fontconfig/conf.avail/67-paktype-naqsh.conf: No description
- /usr/share/fontconfig/conf.avail/67-paktype-tehreer.conf: No description
- /usr/share/fontconfig/conf.avail/67-smc-anjalioldlipi.conf: No description
- /usr/share/fontconfig/conf.avail/69-gnu-free-sans.conf: No description
- /usr/share/fontconfig/conf.avail/69-gnu-free-serif.conf: No description
- /usr/share/fontconfig/conf.avail/69-knm-new-fixed.conf: No description
- /usr/share/fontconfig/conf.avail/69-unifont.conf: No description
- /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf: No description
- /usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf: No description
- /usr/share/fontconfig/conf.avail/80-delicious.conf: No description
- /usr/share/fontconfig/conf.avail/90-synthetic.conf: No description
- /usr/share/fontconfig/conf.avail/90-ttf-arphic-ukai-embolden.conf: No description
- /usr/share/fontconfig/conf.avail/90-ttf-arphic-uming-embolden.conf: No description

Usually we use a symlink to the files on conf.avail. in that case it will gets rid of duplicates from the '-' list.
Comment 3 Akira TAGOH 2015-02-05 08:58:13 UTC
Revisited here again and finished the rest of the work to make strings translatable by using itstool.
Comment 4 Behdad Esfahbod 2017-11-06 19:01:51 UTC
Let's merge this.
Comment 5 Akira TAGOH 2017-11-07 06:51:10 UTC
Sure. done. thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.