freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Build errors with MSVC


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] Build errors with MSVC
Date: Wed, 22 Oct 2014 18:58:01 -0400

>
> Anyways, since VC 2010 is a frequently used compiler, we have to find
> a workaround.  Behdad, any ideas?
>

I do not have the compiler but I would try braces around {the
constants}. Then you can use it to initialize a temp array to transfer
in the appropriate place at last.

FT_Int params[] = CFF_CONFIG_OPTION_DARKENING_PARAMETERS;

driver->darken_params[0] = params[0];
driver->darken_params[1] = params[1];
driver->darken_params[2] = params[2];



reply via email to

[Prev in Thread] Current Thread [Next in Thread]