Font Size - cheque writing
David Reiser
dbreiser at earthlink.net
Wed Mar 7 11:19:50 EST 2007
On 7 Mar 2007, at 10:13:22 AM, Derek Atkins wrote:
> David Reiser <dbreiser at earthlink.net> writes:
>
>> I discovered that if I deleted the (guchar *) on line 64, then I
>> could control the font and size of check printing by recompiling
>> after changing either the font name or size. I haven't seen any other
>> untoward effects toward printing, but I don't do a lot of printing.
>> I've been running without the guchar * since October.
>
> I really don't understand why that makes a difference. It's just
> a cast. It's not changing how the string is stored in memory.
> The function call just sets a pointer; casts generally just tell
> the compiler how to handle the pointer, but crossing a function
> boundary doesn't make a difference.. Unless it's a macro and
> not a function?
>
> -derek
The only reason I tried deleting the cast was that none of the sample
code I could find had a cast.
I took out the cast, and I can change the font.
Dave
--
David Reiser
dbreiser at earthlink.net
More information about the gnucash-user
mailing list