[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Devel] CFF fonts assume Type 2 charstrings
From: |
Tom Kacvinsky |
Subject: |
RE: [Devel] CFF fonts assume Type 2 charstrings |
Date: |
Fri, 9 Aug 2002 13:45:32 -0400 |
do not forget the subroutine bias number.
flex hints are handled differently.
and so on...
i *may* take a look at the code this weekend and get more details to the list
On 2002/08/09 at 09:57, George Williams <address@hidden> wrote:
> At 09:51 AM 8/9/2002 +0100, you wrote:
> >Now this is very interesting. I suspected that might be the case. This means
> >that the Types 1 and 2 charstring parsers could be merged and put into the
> >common PostScript-font module (psaux?). A call to the parser could select
> >type 1 or 2 by means of a new argument. That would save code and make my
> >life easier.
> This is what PfaEdit does.
>
> Essentially the parser handles the codes from both type1s and type2s. You
> need to do a little extra set up (the subroutine table needs to include its
> base offset (which is 0 for type1s and approximately cnt/2 for type2s).
>
> The places where I actually check the type1/2 flag are:
> * numbers starting with 255
> * Needed a special check for paths containing single points when doing a
> closepath
> * Special check in the first *moveto for the width argument.
>
>
>
> _______________________________________________
> Devel mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/devel
- [Devel] CFF fonts assume Type 2 charstrings, Graham Asher, 2002/08/08
- Re: [Devel] CFF fonts assume Type 2 charstrings, Tom Kacvinsky, 2002/08/08
- RE: [Devel] CFF fonts assume Type 2 charstrings, Graham Asher, 2002/08/08
- Re: [Devel] CFF fonts assume Type 2 charstrings, Tom Kacvinsky, 2002/08/08
- RE: [Devel] CFF fonts assume Type 2 charstrings, Graham Asher, 2002/08/09
- RE: [Devel] CFF fonts assume Type 2 charstrings, Tom Kacvinsky, 2002/08/09
- RE: [Devel] CFF fonts assume Type 2 charstrings, George Williams, 2002/08/09
- RE: [Devel] CFF fonts assume Type 2 charstrings,
Tom Kacvinsky <=
- RE: [Devel] CFF fonts assume Type 2 charstrings, Tom Kacvinsky, 2002/08/11
Re: [Devel] CFF fonts assume Type 2 charstrings, George Williams, 2002/08/08