[Fontconfig] [PATCH] Avoid conflicts with integer width macros from TS 18661-1:2014
Akira TAGOH
akira at tagoh.org
Tue Dec 13 04:18:38 UTC 2016
On Mon, Dec 12, 2016 at 7:40 AM, Khem Raj <raj.khem at gmail.com> wrote:
> diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h
> index 5c72b22..843c532 100644
> --- a/fontconfig/fontconfig.h
> +++ b/fontconfig/fontconfig.h
> @@ -128,7 +128,7 @@ typedef int FcBool;
> #define FC_USER_CACHE_FILE ".fonts.cache-" FC_CACHE_VERSION
>
> /* Adjust outline rasterizer */
> -#define FC_CHAR_WIDTH "charwidth" /* Int */
> +#define FC_CHARWIDTH "charwidth" /* Int */
> #define FC_CHAR_HEIGHT "charheight"/* Int */
> #define FC_MATRIX "matrix" /* FcMatrix */
>
don't remove it. we can't change the public API. you should do either of 1)
add FC_CHARWIDTH as an alias of FC_CHAR_WIDTH to make changes minimum or 2)
change the FC_OBJECT macro and so on.
> --- a/src/fcobjshash.gperf
>
+++ b/src/fcobjshash.gperf
>
--- a/src/fcobjshash.h
> +++ b/src/fcobjshash.h
>
Those two isn't the part of the tree in git. dunno how you did make the
patch. but don't include them in the patch, please.
--
Akira TAGOH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20161213/1777616c/attachment.html>
More information about the Fontconfig
mailing list