83f56922e2
The Mac fontconfig just #defines the cache directory, which works fine if fontconfig never has to look up any fonts (the case until now). If it has to actually find fonts from the disk, the cache directory and config directory need to be properly defined as well as running fc-cache to populate the cache directory. Populating the cache directory can take some time, but should only happen on a clean build. To remove this extra time, we have to not build poppler on Mac, which can now be accomplished with GYP_DEFINES="skia_mac_poppler=0" R=epoger@google.com Author: vandebo@chromium.org Review URL: https://codereview.chromium.org/132333002 git-svn-id: http://skia.googlecode.com/svn/trunk@13007 2bbb7eff-a529-9590-31e7-b0007b416f81 |
||
---|---|---|
.. | ||
config | ||
LICENSE | ||
LICENSE.win | ||
process-template.py | ||
README.chromium |
Name: fontconfig Short Name: fontconfig URL: git://anongit.freedesktop.org/fontconfig Version: 2.10.93 License: MIT, except for Windows-specific files, which are LGPL License File: LICENSE Security Critical: No Description: A library for configuring and customizing font access. Used in Skia as a dependency of libpoppler, for PDF rasterization during testing. Local Modifications: No changes to files from the upstream repository. Platform-specific configuration files added to third_party/fontconfig/config/(platform): config.h fcstdint.h src/fcalias.h src/fcaliastail.h src/fcftalias.h src/fcftaliastail.h These are Windows replacements for POSIX headers: dirent.c dirent.h unistd.h Autogenerated files (consistent across platforms) added to third_party/fontconfig/config: fc-case/fccase.h fc-glyphname/fcglyphname.h fc-lang/fclang.h src/fcobjshash.h On Mac, these are the files generated by ./configure --with-add-fonts=/System/Library/Fonts,/Library/Fonts config/mac/config.h.template then has a section added to the top: +/* Manually added template defines */ +#define FC_CACHEDIR "@FC_CACHEDIR@" +#define FONTCONFIG_PATH "@FONTCONFIG_PATH@" On Windows, the configuration files were from http://comments.gmane.org/gmane.comp.fonts.fontconfig/4438 (fontconfig development list).