[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] Another approach to mac fonts...
From: |
George Williams |
Subject: |
[Devel] Another approach to mac fonts... |
Date: |
Tue, 13 May 2003 14:45:56 -0700 |
I wanted to be able to look at mac fonts on non-mac systems so I wrote
the attached wrapper which will find things inside mac dfonts or in
macbinary files that contain mac resource fonts (it will also work on a
bare mac resource file if anyone manages to get that onto a non-mac
system).
There is no mac specific code here, it should work on any system
(including macs).
This is probably not the right approach (I should probably have written
a driver instead), but it was all I had time for.
The file base/ftnomac.c provides two top level API calls
FT_Error
FT_New_Mac_Face( FT_Library library,
const char* pathname,
FT_Long face_index,
FT_Face *aface );
and
FT_Error
FT_New_MacMemory_Face( FT_Library library,
const FT_Byte* file_base,
FT_Long file_size,
FT_Long face_index,
FT_Face *aface );
These should behave just like their obvious counterparts except that
they will check for mac fonts before anything else.
ftnomac.bz2
Description: application/bzip
- [Devel] Another approach to mac fonts...,
George Williams <=
- [Devel] Re: Another approach to mac fonts..., George Williams, 2003/05/14
- Re: [Devel] Re: Another approach to mac fonts..., James H. Cloos Jr., 2003/05/14
- Re: [Devel] Re: Another approach to mac fonts..., Werner LEMBERG, 2003/05/15
- Re: [Devel] Re: Another approach to mac fonts..., George Williams, 2003/05/16
- Re: [Devel] Re: Another approach to mac fonts..., Werner LEMBERG, 2003/05/18
- Re: [Devel] Re: Another approach to mac fonts..., George Williams, 2003/05/18
- Re: [Devel] Re: Another approach to mac fonts..., Dan Williams, 2003/05/18
- Re: [Devel] Re: Another approach to mac fonts..., George Williams, 2003/05/19
- Re: [Devel] Re: Another approach to mac fonts..., Dan Williams, 2003/05/19