Aros/Developer/Docs/Libraries/Bullet
外觀
< Aros | Developer/Docs
輪廓字型的介面,以及我們在 freetype2.library 中的實現。
字型度量實際上非常困難,而且 bullet 介面沒有提供獲取整個字型度量的方法,這意味著必須以非常糟糕的方式生成度量。
AROS 上的字型大小與其他系統不同。FreeType 對 bullet 介面的重新計算度量以更好地匹配傳統的 Amiga 度量方式,缺點是它使字形比它們應該的要小。此外,無法在 AROS 下獲得顯示裝置 DPI,因此無法讓 FreeType 適當地調整比例。
ULONG SetInfo(struct GlyphEngine *glyphEngine, Tag tag1, ...) ULONG ReleaseInfo(struct GlyphEngine *glyphEngine, Tag tag1, ...) ULONG ObtainInfo(struct GlyphEngine *glyphEngine, Tag tag1, ...) struct GlyphEngine *OpenEngine() void CloseEngine(struct GlyphEngine *glyphEngine) ULONG SetInfoA(struct GlyphEngine *glyphEngine, struct TagItem *tagList) ULONG ObtainInfoA(struct GlyphEngine *glyphEngine, struct TagItem *tagList) ULONG ReleaseInfoA(struct GlyphEngine *glyphEngine, struct TagItem *tagList)