The buildlink3.mk should be included for OSes _except_ Darwin.
The proper fix for this would be to have a devel/libuuid/builtin.mk that
detects builtinness.
Finally we have made new stable release, 2.13.0 here. summaries for
changes since last stable release of 2.12.6 are:
- Improve the footprint on cache creation
- emoji/math fonts support
- variable fonts support
- config file description support
- allow sharing caches with bind-mounted dirs
- bug fixes
2.12.6
Akira TAGOH (4):
und_zsye.orth: polish to get for NotoEmoji-Regular.ttf
Revert "Keep the same behavior to the return value of FcConfigParseAndLoad"
Fix again to keep the same behavior to the return value of FcConfigParseAndLoad
Update libtool revision
Behdad Esfahbod (2):
Minor
[fc-query] Fix linking order
David Kaspar [Dee'Kej] (1):
conf.d: Drop aliases for (URW)++ fonts
Florian Müllner (1):
build: Remove references to deleted file
I've released fontconfig-2.12.5 that contains Emoji/Math fonts
support in family name and lang, new APIs, to get the binding type
from FcPattern, and to load a configuration from memory. and some
bug fixes.
2.12.4
Akira TAGOH (5):
Force regenerate fcobjshash.h when updating Makefile
Fix the build failure when srcdir != builddir and have gperf 3.1 or later installed
Add a testcase for Bug#131804
Update libtool revision
Fix distcheck error
Florent Rougon (6):
FcCharSetHash(): use the 'numbers' values to compute the hash
fc-lang: gracefully handle the case where the last language initial is < 'z'
Fix an off-by-one error in FcLangSetIndex()
Fix erroneous test on language id in FcLangSetPromote()
FcLangSetCompare(): fix bug when two charsets come from different "buckets"
FcCharSetFreezeOrig(), FcCharSetFindFrozen(): use all buckets of freezer->orig_hash_table
Helmut Grohne (1):
fix cross compilation
Jan Alexander Steffens (heftig) (1):
Fix testing PCF_CONFIG_OPTION_LONG_FAMILY_NAMES (CFLAGS need to be right)
Josselin Mouette (1):
Treat C.UTF-8 and C.utf8 locales as built in the C library.
Masamichi Hosoda (1):
Bug 99360 - Fix cache file update on MinGW
2.12.3
Akira TAGOH (1):
Fix make check fail with freetype-2.7.1 and 2.8 with PCF_CONFIG_OPTION_LONG_FAMILY_NAMES enabled.
2.12.2
Akira TAGOH (8):
Don't call perror() if no changes happens in errno
Fix FcCacheOffsetsValid()
Fix the build issue with gperf 3.1
Fix the build issue on GNU/Hurd
Update a bit for the changes in FreeType 2.7.1
Add the description of FC_LANG envvar to the doc
Bug 101202 - fontconfig FTBFS if docbook-utils is installed
Update libtool revision
Alan Coopersmith (1):
Correct cache version info in doc/fontconfig-user.sgml
Khem Raj (1):
Avoid conflicts with integer width macros from TS 18661-1:2014
Masamichi Hosoda (2):
Fix PostScript font alias name
Update aliases for URW June 2016
The installed version of this library was found and used instead of the
one build by the package, leading to problems when the pkgsrc one had
symbols the native one doesn't have. Add libtool path to compiler
search path to fix this.
From spz.
I've released 2.12.1 containing some fixes:
- IMPORTANT: properly validate offsets in cache files. see changelog and
CVE-2016-5384 for more details. thanks to Tobias Stoeckmann for catching
this up!
- build issues regarding to Python.
- add --with-default-hinting to configure.
- fix segfault in FcWeightFromOpenType()
Here is the announcement for the stable release after 2 years, which
many features and bug fixes contains.
Summary of the changes since last stable release is:
- - Support the size specific design selection in OS/2 table version 5
- - Allow the modification on 'lang' and 'charset' objects
- - Increase the refcount in FcConfigSetCurrent()
- - some updates in orth files
- - Add --error-on-no-fonts option to fc-cache
- - Use lang=und instead of lang=xx for "undetermined"
- - Add FC_WEIGHT_DEMILIGHT and change from 65 to 55
- - Add FC_COLOR
- - Treat color fonts as scalable
- - no FC_LANG added with FcConfigSubstitute() when it has "und"
- - Hardcode blanks in library
- - Support symbol fonts
- - Unicode 8.0 support
- - Add hintstyle templates and default hintslight
- - GX font support
- - Improve the footprint issue on updating caches
- - Bump the cache version to 6
- - more bug fixes
- - and more...
not found, but:
Here is the summary of changes since 2.10.2:
- Make fontconfig thread-safe
- Use O_CLOEXEC to open a file
- Fix/improve portability issues
- new tool, fc-validate to check the glyph coverage against the language
- Deprecation:
- FcName(Un)RegisterObjectTypes()
- FcName(Un)RegisterConstants()
- FC_RASTERIZER
- User-defined numerical expressions support in the matrix element
- See conf.d/10-scale-bitmap-fonts.conf for example
- Add new rule to scale the bitmap font and enabled by default
- New objects support in FcPattern
- FC_FONT_FEATURES
- FC_PRGNAME
- FC_HASH
- FC_POSTSCRIPT_NAME
- The cache version bumped to 4
- Support intermixed edit and test elements
- Support delete and delete_all mode in edit element
- Add --sysroot option to fc-cache
- Fix the parser to ignore the leading whitespaces in the parameter
- Auto migration for XDG Base Directory Specification
- Match on FC_SCALABLE and FC_FONTFORMAT
- Add quz.orth
- Improve 30-metric-aliases.conf
- Workaround the race condition issue on updating cache
2.10.95
Changes since 2.10.94:
Akira TAGOH (3):
Fix a typo
Fix a crash
Bump version to 2.10.95
2.10.94
Changes since 2.10.93:
Akira TAGOH (26):
Bug 64906 - FcNameParse() should ignore leading whitespace in parameters
Fix a comparison of constant warning with clang
Fix a shift count overflow on 32bit box
Fix a incompatible pointer warning on NetBSD
Add FcTypeUnknown to FcType to avoid comparison of constant -1
Fix the behavior of intermixed tests end edits in match
Ignore scandir() check on mingw
Use INT_MAX instead of unreliable hardcoding value
Add FC_UNUSED to FC_ASSERT_STATIC macro to avoid compiler warning
Rework to apply the intermixed test and edit elements in one-pass
trivial code optimization
Correct fontconfig.pc to add certain dependencies for build
Correct fontconfig.pc to add certain dependencies for static build
Fix wrong edit position
Bug 67809 - Invalid read/write with valgrind when assigning something twice
warn deprecated only when migration failed
Bug 67845 - Match on FC_SCALABLE
Bug 16818 - fontformat in match pattern is not respected?
Bug 68340 - More metric compat fonts
Bug 63399 - Add default aliases for Georgia, Garamond, Palatino Linotype, Trebuchet MS
Fix a typo
Fix a crash when non-builtin objects are edited
Fix a wrong edit position when 'kind' is different
Bug 68587 - copy qu.orth to quz.orth
Add quz.orth to Makefile.am
Bump version to 2.10.94
Behdad Esfahbod (2):
Minor
Fix assertion
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
Bug 62980 - matching native fonts with even :lang=en
Ensure closing fp on error
Obtain fonts data via FT_Face instead of opening a file directly
Revert the previous change and rework to not export freetype API outside fcfreetype.c
documented FC_HASH and FC_POSTSCRIPT_NAME
Bug 63329 - make check fails: .. contents:: :depth: 2
Use the glob matching for filename
Bug 63452 - conf.d/README outdated
Fix missing OSAtomicCompareAndSwapPtrBarrier() on Mac OS X 10.4
Bug 63922 - FcFreeTypeQueryFace fails on postscripts fonts loaded from memory
build-chain, replace INCLUDES directive by AM_CPPFLAGS
Bump version to 2.10.92
Minor fix
Bump libtool revision
Minor cleanup
Bug 38737 - Wishlist: support FC_POSTSCRIPT_NAME
Add the PostScript name into the cache and the matcher.
Scoring the better font against the PostScript name by
the forward-matching.
Fix a SIGSEGV on FcPatternGet* with NULL pattern
Fix crash with FcConfigSetCurrent(NULL)
Do not copy FC_*LANG_OBJECT even if it's not available on the pattern
those objects are linked to the corresponding string objects.
this may causes inconsistency that those objects has more values
than them.
Bug 59456 - Adding a --sysroot like option to fc-cache
Add an ability to set the system root to generate the caches.
In order to do this, new APIs, FcConfigGetSysRoot() and
FcConfigSetSysRoot() is available.
Fix a memory leak
Fix broken sort order with FcFontSort()
which was introduced by 4eab908c8679a797ac7016b77a93ee41bb11b0fc
Fix a crash when the object is non-builtin object
Fix a typo
Bug 60783 - Add Liberation Sans Narrow to 30-metric-aliases.conf
Add Liberation Sans Narrow as an alias for Arial Narrow
Bug 60748 - broken conf.d/10-autohint.conf and conf.d/10-unhinted.conf
Move the target of recipes to the "pattern" from the "font".
This is to ensure the targeted objects is updated by them
prior to FcDefaultSubstitute() so that it can adds the default
values properly.
Accept digits as part of OpenType script tags
They've been used since 2005.
Add Culmus foundry to the vendor list
Maps fonts produced by the Culmus project
<http://culmus.sourceforge.net>
to the XLFD foundry name culmus.
For TrueType fonts, maps the vendor code CLM from the TrueType vendor
id field.
For Type1 fonts, which use heuristics to guess mappings to XLFD
foundries from
words in the copyright notice, add the names of the main contributors
to
the Culmus product to recognize the fonts under their copyright.
Patch from Maxim Iorsh
Use LOG_COMPILER and AM_TESTS_ENVIRONMENT
TESTS_ENVIRONMENT is deprecated and should be reserved to the user to
override the test environment
<ext>_LOG_COMPILER is meant to contain the program that runs the test
with <ext> extension
LOG_COMPILER is for extensionless tests
AM_TESTS_ENVIRONMENT is meant to set the environment for the tests
https://bugs.freedesktop.org/show_bug.cgi?id=60192
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Bump the cache version to 4
Update _FcMatchers definition logic
to make it easier to maintain. also added FC_HASH_OBJECT to be matched
in the pattern, prior to FC_FILE_OBJECT.
Bug 60312 - DIST_SUBDIRS should never appear in a conditional
As it is documented like this:
If SUBDIRS is defined conditionally using Automake conditionals,
Automake will define DIST_SUBDIRS automatically from the possible
values of SUBDIRS in all conditions.
So we don't need to re-define DIST_SUBDIRS in Makefile.am unless
we use AC_SUBST to define SUBDIRS.
Patch from Quentin Glidic
Bug 50733 - Add font-file hash?
Add "hash" object which contains SHA256 hash value (so far) computed
from the font file.
Use AM_MISSING_PROG instead of hardcoding missing
Revert "test: Use SH_LOG_COMPILER and AM_TESTS_ENVIRONMENT"
This reverts commit 2146b0307a3476892723104481f27f8484451c52.
That change introduces incompatibility and seems not working with
older releases of automake, including automake 1.12.2.
test: Use SH_LOG_COMPILER and AM_TESTS_ENVIRONMENT
TESTS_ENVIRONMENT is deprecated and should be reserved to the user to
override the test environment
<ext>_LOG_COMPILER is meant to contain the program that runs the test
with <ext> extension
AM_TESTS_ENVIRONMENT is meant to set the environment for the tests
https://bugs.freedesktop.org/show_bug.cgi?id=60192
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Use AM_MISSING_PROG instead of hardcoding missing
Modernize configure.ac
Bug 23757 - Add mode="delete" to <edit>
Add two edit mode, "delete" and "delete_all".
what values are being deleted depends on <test> as documented.
if the target object is same to what is tested, matching value there
will be deleted. otherwise all of values in the object will be
deleted.
so this would means both edit mode will not take any expressions.
e.g.
Given that the testing is always true here, the following rules:
<match>
<test name="foo" compare="eq">
<string>bar</string>
</test>
<edit name="foo" mode="delete"/>
</match>
will removes "bar" string from "foo" object. and:
<match>
<test name="foo" compare="eq">
<string>foo</string>
</test>
<edit name="bar" mode="delete"/>
</match>
will removes all of values in "bar" object.
build: Only use PKG_INSTALLDIR if available
It's only in pkg-config 0.27 or newer, but 0.25 at least is still
fairly widespread.
Use the PKG_INSTALLDIR macro.
Bug 59385 - Do the right thing for intermixed edit and test elements
This changes allows to have multiple mathcing rules in one <match>
block
in the same order.
remove the unnecessary code
Add another approach to FC_PRGNAME for Solaris 10 or before
Patch from Raimund Steger
Fix installation on MinGW32
Patch from LRN
Fix mkstemp absence for some platform
Patch from LRN and modified to make more generic.
Add missing file descriptor to F_DUPFD_CLOEXEC
Patch from Matthieu Herrb
Fix readlink failure
As reported by Raimund Steger.
Better fix for 2fe5ddfd
Drop realpath() and fix breakage on Win32
Fix FC_PRGNAME default
As reported by Raimund Steger.
Fix fc-cache crash caused by looking up NULL object incorrectly
We were returning a skiplist node when looking up NULL!
Minor
Remove unused checks for common functions
The check results of these were never actually used.
Improve FcGetPrgname() to work on BSD
Bug 59379 - FC_PRGNAME
Can be used for per-application configuration.
Bug 50497 - RFE: Add OpenType feature tags support
Add FC_FONT_FEATURES to store the feature tags to be enabled.
Fix the build fail on MinGW
Reported at
http://lists.freedesktop.org/archives/fontconfig/2013-January/004601.html
just warn at the runtime instead of the compile time. it somewhat
works
on even MinGW since FcMakeTempfile() isn't used on Win32 so far.
Minor
Copy all values from pattern to font if the font doesn't have
the element
Bug 59376 - FcFontRenderPrepare enhancement
Ensure we find the uninstalled fontconfig header
Patch from Colin Walters.
Respect $NOCONFIGURE
Patch from Colin Walters.
Bump version to 2.10.2
Bug 57286 - Remove UnBatang and Baekmuk Batang from monospace in
65-nonlatin.conf
Those two fonts are serif fonts. shouldn't be added to monospace.
Update CaseFolding.txt to Unicode 6.2
No real updates between 6.1 and 6.2, but anyway.
Bug 57114 - regression on FcFontMatch with namelang
After 7587d1c99d9476b6dd4dbe523c0204da700fed8d applied, family,
style, and fullname is localized against current locale or lang
if any though, the string in other languages were dropped from
the pattern. this caused unexpected mismatch on the target="font"
rules.
This fix adds other strings at the end of the list.
Bug 56531 - autogen.sh fails due to missing 'm4' directory
Keep m4 directory in git.
Use automake variable instead of cleaning files in clean-local
just for git.mk coming up from Behdad's threadsafe branch
autogen.sh: Add -I option to tell aclocal a place for external
m4 files
Fix syntax errors in fonts.dtd.
Patch from Steve Simpson
Fix wrongly squashing for the network path on Win32.
Patch from Diego Santa Cruz
deal with warnings as errors for the previous change
missed this change to commit. doh!
Bug 52573 - patch required to build 2.10.x with oldish GNU C library
headers
On older libc, _POSIX_C_SOURCE didn't satisfy to use posix_fadvise()
and AC_CHECK_FUNCS doesn't check a header file if the function is
declared there properly. so use AC_LINK_IFELSE instead.
Bug 54138 - X_OK permission is invalid for win32 access(..) calls
X_OK checking was added back in
8ae1e3d5dc323542e7def06a42deea62c7ba7027
which was removed due to the same reason in
238489030a64fa883f8f9fc3d73247b7f7257899.
apparently the test case in Bug#18934 still works without it.
so I'm removing it again to get this working on Windows.
Remove _CONFIG_FIXUPS_H_ guards, so multiple includes of "config.h"
result in the correct values
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Fix for libtoolize's warnings
Fix N'ko orthography
Bug 53585 - Two highly-visible typos in src/fcxml.c