Akira TAGOH
b1d149347a
Rework CI implementation v2
2023-07-06 15:54:36 +09:00
Akira TAGOH
3c16ea2849
Fix a typo
2023-07-06 15:54:36 +09:00
Akira TAGOH
428515daae
Rework CI implementation
...
Use ci-templates.
2023-07-06 15:54:36 +09:00
Akira TAGOH
7e2a1b2577
Add more docs about selectfont
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/363
2023-06-12 19:59:53 +09:00
Akira TAGOH
7aa647eb9e
Use 'outline' instead of 'scalable' for bitmaps
...
scalable can be true if bitmap fonts have color.
This isn't expected behavior.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/365
2023-06-12 19:33:43 +09:00
Akira TAGOH
fb726e86bd
Fix a typo in scalable property
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/365
2023-06-12 19:33:41 +09:00
Akira TAGOH
842f09c4f0
Fix a typo for FcCharSetDelChar doc
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/364
2023-06-08 20:21:47 +09:00
Xavier Claessens
ce182817b4
meson: Support any compiler with gcc or msvc argument syntax
...
This includes e.g. clang-cl.
2023-06-01 08:26:49 -04:00
Akira TAGOH
ff037052bc
Fix a typo
2023-05-30 19:00:02 +09:00
Akira TAGOH
e4987ef114
Remove the problematic language from code and doc
2023-05-29 22:13:23 +09:00
Akira TAGOH
f0612537cb
Add namedinstance property
...
This change allows applications to detect if a font
is a variable font and a named-instance.
If they are, namedinstance property is set to true,
otherwise false.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/362
2023-05-25 20:12:31 +09:00
Akira TAGOH
1751596768
Add missing property descriptions
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/360
2023-05-17 14:18:52 +09:00
Akira TAGOH
963ec653a3
Change the order of the properties to the order of fontconfig cache format
2023-05-17 14:11:22 +09:00
Jean Abou Samra
222d058525
Some doc clarifications
2023-04-17 18:28:27 +02:00
Ben Wagner
ec3e747d2f
Fix leak of `reason` in _FcConfigParse when not complaining
...
In "Do not return FcFalse from FcConfigParseAndLoad*() if complain is
set to false" [0], _FcConfigParse was updated to return FcTrue early if
it was instructed not to complain on errors. In "Take effect sysroot
functionality to the default config file" [1] the error messages were
factored into a `reason` which was allocated. Be sure to free this
`reason` in the case of returning FcTrue early.
Discovered with a leak checker while attempting to configure in
interesting ways.
[0] fcada52291
[1] cd51cb241a
2023-03-30 14:23:57 -04:00
Sefa Eyeoglu
c2666a6d9a
Add optional 11-lcdfilter-none configuration
...
Of the possible lcdfilter options, `lcdnone` did not have a
corresponding optional config file.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-03-21 16:20:37 +01:00
Akira TAGOH
04546f1876
Update 65-nonlatin.conf for macOS
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/353
2023-03-13 18:36:04 +09:00
Akira TAGOH
b0a5af1bd2
Add another test case for flatpak
2023-03-06 17:01:38 +09:00
Akira TAGOH
860b9997ef
Clean up unused code
2023-03-06 15:34:58 +09:00
msizanoen1
a6a1695722
Reload MM/VF metadata for each font face in font collection
...
This ensures that the MM/VF metadata is the correct metadata for each
font face instead of whatever happens to be in the first one in the
collection.
2023-02-22 21:57:44 +07:00
Vitaly Lysenkov
89af138176
In fcfreetype.c, `GetScriptTags`: fix `use_of_uninitialized_value` and return the correct number of parsed tags in case the font file contains less tags than indicated.
2023-02-21 20:13:23 +00:00
Tom Anderson
06929a556f
Fix false-positive CFI failure
...
When building Chromium with upstream Fontconfig with CFI,
the following build error is raised:
../../third_party/fontconfig/src/src/fchash.c:105:21: runtime error:
control flow integrity check for type 'unsigned int (const void *)'
failed during indirect function call
This occurs because CFI doesn't like the conversion from
`unsigned int (const void *)` to `unsigned int (const char *)`.
To fix this, simply redefine `FcHashFunc` to use `char *` instead.
2023-02-13 17:02:53 +00:00
Tom Anderson
2ef790a0db
Fix filepaths added when scanning with sysroot
...
This fixes a regression introduced by 76f88e780
. When
using FONTCONFIG_SYSROOT=/home/tom/test_fonts, strace
reveals that fontconfig attempted to open /test_fonts/Ahem.ttf
instead of /home/tom/test_fonts/Ahem.ttf. The fix is to use
`s_dir` instead of `dir` in `file_prefix`.
2023-02-09 01:31:31 +00:00
Akira TAGOH
311f6caaa8
Bump version to 2.14.2
2023-01-27 17:55:02 +09:00
Akira TAGOH
43baa9a884
Adujst indentation between programlisting in fontconfig-user.sgml
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/344
2023-01-27 14:25:11 +09:00
Akira TAGOH
b54b98bb21
Add some missing constant names for weight.
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/348
2023-01-25 23:04:35 +09:00
Akira TAGOH
92f093a4c4
Report more detailed logs instead of assertion.
...
Getting backtraces against this assertion isn't useful at all.
Fontconfig isn't capable to report who really have a reference
of caches though, this report may be better than assertion.
So we can try analysis tools then.
And report it only when running with FC_DEBUG=16.
2023-01-25 14:36:30 +09:00
Ondrej Balaz
da1e3f35e6
Expand ~ in glob
...
Allow ~ home directory expansion in acceptfont and rejectfont globs.
Fixes : #347
2023-01-25 06:14:54 +09:00
Akira TAGOH
f7091cd17b
Fix a typo in description for HAVE_STDATOMIC_PRIMITIVES
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/346
2023-01-23 23:04:33 +09:00
lilinjie
b7586f0170
fix typo
...
Signed-off-by: lilinjie <lilinjie@uniontech.com>
2023-01-12 15:32:36 +08:00
Akira TAGOH
aec775130b
src/meson.build: Store correct paths to fontconfig.pc.
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/345
2022-12-28 21:58:09 +09:00
Jean Abou Samra
6e3fe92b20
Ignore LC_CTYPE if set to "UTF-8"
...
LC_CTYPE is set to "UTF-8" on some macOS systems, which is
POSIX-compliant in a strict sense, but breaks the usual assumption
that a locale name has the form "ll_LL.encoding".
https://unix.stackexchange.com/questions/503110/valid-values-for-lc-ctype
Previously, this would cause the warning
Fontconfig warning: ignoring UTF-8: not a valid region tag
Now, we just skip this variable if set to "UTF-8", since that value
doesn't give any language information, and move on to try LANG.
2022-12-14 15:27:34 +01:00
Akira TAGOH
8b854dddb0
Convert more tabs to spaces in docs
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/343
2022-12-13 23:17:59 +09:00
Akira TAGOH
27a21ccef0
Convert tabs to spaces
...
This fixes broken layout on pdf.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/343
2022-12-13 16:05:41 +09:00
Mike FABIAN
ce9cbe36d8
Change index type to 16 bit and bump cache version to 9
...
The number of .orth files is now > 256, therefore the index type needs to be 16 bit.
2022-12-09 09:23:19 +01:00
Mike FABIAN
9097ada0ef
Add {agr,ayc,bem,ckb,cmn,dsb,hak,lij,lzh,mfe,mhr,miq,mjw,mnw,nan,nhn,niu,rif,sgs,shn,szl,tcy,tpi,unm,wae,yue,yuw}.orth
...
Resolves: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/341
Also move {anp,bhb,hif,mag,raj,the}.orth which were recently added
to the proper insert position in fc-lang/{Makefile.am,meson.build}
2022-12-09 09:23:19 +01:00
Akira TAGOH
ddea974d3c
Do not change the order of orth files
2022-12-08 15:54:26 +09:00
Mike FABIAN
c8f6210bab
Add anp.orth, bhb.orth, hif.orth, mag.orth, raj.orth, and the.orth
...
Resolves: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/340
2022-12-05 14:37:22 +01:00
Akira TAGOH
ed6c9cf67b
Ignore null pointer on Fc*Destroy functions
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/339
2022-12-05 21:40:26 +09:00
Akira TAGOH
6663fe457d
Update po-conf/POTFILES.in
2022-11-28 17:54:19 +09:00
Akira TAGOH
030759b74f
Add --with-default-sub-pixel-rendering option
...
To make a choice of 10-sub-pixel-*.conf configurable.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/337
2022-11-28 17:40:43 +09:00
Akira TAGOH
6715a14f13
Add FC_DESKTOP_NAME property
...
To allow users to have desktop-specific matching rule.
2022-11-26 14:37:49 +09:00
Akira TAGOH
eb0a199e06
Store artifacts for meson windows CI
2022-10-28 18:39:31 +09:00
Akira TAGOH
c42eb5b503
Fix the build issue on meson when -g option is added to c_args
...
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/335
2022-10-27 12:33:25 +09:00
Jason Francis
1bea54624d
meson: Update freetype2 git repository to upstream
...
The forked repository is unmaintained and several releases out of date.
The upstream repository now includes meson support, so the forked
repository is no longer necessary.
2022-10-26 11:59:04 +00:00
Christopher Degawa
a07e2f1e8a
meson: modify gperf test to remove sh dependency
...
modifies the gperf test to instead rely on a file input
rather than piping in using sh, as sh is often not reliable
on Windows due to paths.
Also changes the if else ladder into a foreach loop.
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
2022-10-25 15:57:09 -05:00
Akira TAGOH
c45e09df1e
Bump version to 2.14.1
2022-10-21 14:14:03 +09:00
Akira TAGOH
2b6afa02ab
Enable 10-sub-pixel-rgb.conf by default
2022-10-17 20:09:31 +09:00
Tim-Philipp Müller
1661319e5e
ci: update macOS image
2022-10-14 17:09:24 +01:00
Tim-Philipp Müller
9279f3f90b
ci: update windows image to a 2022-server based one
...
The 1809 windows runners are going to be phased out soon.
Rename jobs to vs2019 because that's the default on those images now.
2022-10-14 17:06:43 +01:00