⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 字体缩放显示
💻
字号:
This is the readme of the freetype.hqx archive in the contrib/macsubdirectory.  Please note that the FreeType team does *not* support theMacintosh platform due to lack of knowledge.  All questions regarding thecode should be sent to both David Williss and the freetype-devel list.----------------------------------------------------------------------------These are CodeWarrior projects for building the FreeType library on a MacintoshI've only provided PPC projects here, but building for 68K shouldn't be hard.There are two directories here (OK, "folders").  One contains a project forbuilding freetype.ppc.lib and the other is for freetype.ppc.dll.  (I havn'tactually tested the DLL yet.)The Macintosh stores TrueType fonts in a "Fonts" folder under the "System"folder.  There is a standard MacOS API for finding this folder, so I use it.However, the fonts aren't normal flat files.  They have all the data inresources in the resource fork.  Each font is an 'sfnt' resource, and eachfile can have more than one 'sfnt' resource.  To get at them, I made a copy of ttmmap.c from the Unix implementation andmodified it to load/release the resource and lock/unlock the handle as needed.This only required a change to the open and close functions.  After that, itworks just as if it was using Unix memory mapping.One thing however.  Because of the bizarre scheme for storing the fonts, Imade up a way of specifying the font filename.  	fonts:/fontfile/fontname	Where fonts:/ is a literal string that means "the fonts folder", fontfile isthe name of the actual file and fontname is the name of the 'sfnt' resource.Currently, this is the only thing it understands.  It might be nice if someday (2.0 maybe?) ttfile.c and ttmmap.c wern't mutialy exclusive and it coulddecide which method to use based on the filename or something.Another thing that I had to change to make this work.  It seems that MacintoshTrueType fonts have no OS/2 table, so ttload.c needs to be modified to makethat nonfatal, at least on a Macintosh.---David WillissMicroImages, Inc.dwilliss@microimages.com

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -