1. 30 Nov, 2018 1 commit
  2. 19 Jul, 2018 1 commit
  3. 14 Mar, 2018 1 commit
  4. 12 Mar, 2018 1 commit
  5. 20 Sep, 2017 2 commits
    • Behdad Esfahbod's avatar
      Add FcDontCare value to FcBool · 2544bc53
      Behdad Esfahbod authored
      This can be used for FC_VARIABLE=FcDontCare for example, to opt into getting
      variable fonts for clients that support using them.
      2544bc53
    • Behdad Esfahbod's avatar
      Print ranges as closed as opposed to half-open · f034c867
      Behdad Esfahbod authored
      There's nothing assymetrical about how we match them.  Previously we "considered"
      them half-open because the OS/2 spec had usLowerOpticalPointSize as inclusive
      and usUpperOpticalPointSize as exclusive.  But we do not respect that.
      
      Note that the parsing code accepts both anyway, because of the way our sscanf()
      usage is written...
      f034c867
  6. 27 May, 2015 3 commits
  7. 25 Jul, 2014 1 commit
  8. 26 Mar, 2014 1 commit
    • Akira TAGOH's avatar
      Bug 71287 - size specific design selection support in OS/2 table version 5 · 3cd573fc
      Akira TAGOH authored
      This feature requires the FreeType 2.5.1 or later at the build time.
      
      Besides <range> element allows <double> elements with this changes.
      
      This may breaks the cache but not bumping in this change sets at this moment.
      please be aware if you want to try it and run fc-cache before/after to
      avoid the weird thing against it.
      3cd573fc
  9. 05 Nov, 2013 1 commit
    • Alan Coopersmith's avatar
      Avoid null pointer dereference in FcNameParse if malloc fails · 0b7f42f7
      Alan Coopersmith authored
      
      
      Reported by parfait 1.3:
      Error: Null pointer dereference (CWE 476)
         Read from null pointer t
              at line 423 of src/fcname.c in function 'FcNameParse'.
                Function _FcObjectLookupOtherTypeByName may return constant 'NULL'
                 at line 63, called at line 122 of src/fcobjs.c in function
                 'FcObjectLookupOtherTypeByName'.
                Function FcObjectLookupOtherTypeByName may return constant 'NULL'
                 at line 122, called at line 67 of src/fcname.c in function
                 'FcNameGetObjectType'.
                Function FcNameGetObjectType may return constant 'NULL' at line 67,
                 called at line 422 in function 'FcNameParse'.
                Null pointer introduced at line 63 of src/fcobjs.c in function
                 '_FcObjectLookupOtherTypeByName'.
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      0b7f42f7
  10. 28 Jun, 2013 1 commit
  11. 26 Jun, 2013 1 commit
  12. 24 May, 2013 1 commit
  13. 06 Feb, 2013 1 commit
  14. 02 Jan, 2013 4 commits
  15. 01 Jan, 2013 1 commit
  16. 30 Dec, 2012 3 commits
  17. 11 Jun, 2012 1 commit
  18. 24 Apr, 2012 1 commit
    • Akira TAGOH's avatar
      Bug 27765 - FcMatch() returns style in wrong language · 7587d1c9
      Akira TAGOH authored
      Add "namelang" object to obtain the localized name in the font regardless
      of the lang object. it's applied to "familylang", "stylelang" and
      "fullnamelang" alltogether. this would helps if one wants to enforce
      selecting them in the specific language if any.  the default value for
      the namelang object is determined from current locale.
      7587d1c9
  19. 28 Mar, 2012 1 commit
  20. 21 Feb, 2012 2 commits
    • Mike Frysinger's avatar
      FcObjectValidType: tweak -1 checking · d9c44627
      Mike Frysinger authored
      
      
      Newer gcc doesn't like when you switch on an enum and use a value
      that isn't declared:
      
      fcname.c: In function 'FcObjectValidType':
      fcname.c:299:2: warning: case value '4294967295'
      	not in enumerated type 'FcType' [-Wswitch]
      
      So tweak the logic to avoid this warning.
      Signed-off-by: Mike Frysinger's avatarMike Frysinger <vapier@gentoo.org>
      d9c44627
    • Mike Frysinger's avatar
      FcName{,Get}Constant: constify string input · 123d344f
      Mike Frysinger authored
      
      
      These funcs don't modify the incoming string, so add const markings.
      This is the "right thing", shouldn't change the ABI, and fixes some
      gcc warnings:
      
      fccfg.c: In function 'FcConfigEvaluate':
      fccfg.c:916:2: warning: passing argument 1 of 'IA__FcNameConstant'
      	discards 'const' qualifier from pointer target type [enabled by default]
      fcalias.h:253:34: note: expected 'FcChar8 *' but
      	argument is of type 'const FcChar8 *'
      
      fcxml.c: In function 'FcTypecheckExpr':
      fcxml.c:604:2: warning: passing argument 1 of 'IA__FcNameGetConstant'
      	discards 'const' qualifier from pointer target type [enabled by default]
      fcalias.h:251:37: note: expected 'FcChar8 *' but
      	argument is of type 'const FcChar8 *'
      Signed-off-by: Mike Frysinger's avatarMike Frysinger <vapier@gentoo.org>
      123d344f
  21. 20 Jun, 2011 1 commit
    • Behdad Esfahbod's avatar
      Bug 26718 - "fc-match sans file" doesn't work · e0be405a
      Behdad Esfahbod authored
      - Do not throw away FC_FILE in FcNameUnparse
      - Update the builtin "fclist" format to remove FC_FILE properly instead
      - Switch fc-list to use FcPatternFormat()
      
      Note that I had previously broken fc-list and it was not showing the
      file name anymore.  No one noticed that it seems!  Now fixed.
      e0be405a
  22. 10 Nov, 2010 1 commit
  23. 12 Apr, 2010 1 commit
  24. 13 Mar, 2009 1 commit
  25. 15 Feb, 2009 1 commit
  26. 14 Feb, 2009 3 commits
    • Behdad Esfahbod's avatar
      Implement FcPatternFormat and use it in cmdline tools (bug #17107) · 0c93b91d
      Behdad Esfahbod authored
      Still need to add more features, but the API is there, and used
      by cmdline tools with -f or --format.
      0c93b91d
    • Behdad Esfahbod's avatar
      Implement fc-list --verbose (#13015) · 29874098
      Behdad Esfahbod authored
      A private FcObjectGetSet() is implemented that provides an
      FcObjectSet of all registered elements.  FcFontSetList() is
      then modified to use the object set from FcObjectGetSet() if
      provided object-set is NULL.
      
      Alternatively FcObjectGetSet() can be made public.  In that
      case fc-list can use that as a base if --verbose is included,
      and also add any elements provided by the user (though that has
      no effect, as all elements from the cache are already registered).
      Currently fc-list ignores user-provided elements if --verbose
      is specified.
      29874098
    • Behdad Esfahbod's avatar
      Replace RCS Id tags with the file name · 317b8492
      Behdad Esfahbod authored
      317b8492
  27. 04 May, 2008 1 commit
    • Sylvain Pasche's avatar
      Fontconfig options for freetype sub-pixel filter configuration · 53aec111
      Sylvain Pasche authored
      David Turner has modified FreeType to be able to render sub-pixel decimated
      glyphs using different methods of filtering. Fontconfig needs new
      configurables to support selecting these new filtering options. A patch
      follows that would correspond to one available for Cairo in bug 10301.
      53aec111
  28. 05 Sep, 2006 1 commit
    • Keith Packard's avatar
      Eliminate .so PLT entries for local symbols. (thanks to Arjan van de Ven) · 23816bf9
      Keith Packard authored
      Using a simple shell script that processes the public headers, two header
      files are constructed that map public symbols to hidden internal aliases
      avoiding the assocated PLT entry for referring to a public symbol.
      
      A few mistakes in the FcPrivate/FcPublic annotations were also discovered
      through this process
      23816bf9
  29. 03 Sep, 2006 1 commit