freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] SROUND vs S45ROUND


From: Werner LEMBERG
Subject: Re: [ft-devel] SROUND vs S45ROUND
Date: Thu, 16 Oct 2014 09:16:57 +0200 (CEST)

> According to
> https://developer.apple.com/fonts/TrueType-Reference-Manual/RM05/Chap5.html#S45ROUND
> The grid period tables of the 45-degree S45ROUND is actually sqr(2)
> *larger* than that of SROUND. You might get different impression
> from reading more cryptic Microsoft files. So shouldn't we have
> this?
> 
>  #define DO_SROUND                                \
>      SET_SuperRound( 0x4000, args[0] );           \
>      CUR.GS.round_state = TT_Round_Super;         \
>      CUR.func_round = (TT_Round_Func)Round_Super;
> 
> 
>  #define DO_S45ROUND                                 \
> -    SET_SuperRound( 0x2D41, args[0] );              \
> +    SET_SuperRound( 0x5A82, args[0] );              \
>      CUR.GS.round_state = TT_Round_Super_45;         \
>      CUR.func_round = (TT_Round_Func)Round_Super_45;

Good question.  I don't know the right answer, since I've never seen a
font using this instruction.  Well, this is no longer true since *now*
I know one (because I've used a small script to specifically search a
font with that instruction): The `multiply' glyph in `arialbi.ttf'.
Maybe you can check the difference, while I will contact MS.


    Werner



reply via email to

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