Aros/Developer/Docs/Libraries/Bullet

From Wikibooks, open books for an open world
Jump to: navigation, search
Navbar for the Aros wikibook
Aros User Docs
Aros User Docs
Aros User FAQs
Aros User Applications
Aros User DOS Shell
Aros/User/AmigaLegacy
Aros Dev Docs
Aros Developer Docs
Porting Software from AmigaOS/SDL
For Zune Beginners
Zune .MUI Classes
For SDL Beginners
Aros Developer BuildSystem
Specific platforms
68k Support
PPC Power Architecture Support
Arm Raspberry Pi Support
Android support
Linux and FreeBSD Support
Windows Mingw and MacOSX Support
Aros x86 Installing
Aros x86 Audio/Video Support
Aros x86 Network Support
Aros x86 Complete System HCL
Aros Storage Support IDE SATA etc
Aros Poseidon USB Support
x86-64 Support
misc
Aros Public License

Introduction[edit]

interface for outline fonts, and our implementation of it in freetype2.library.

font metrics are actually quite difficult and not help by the fact that the bullet interface doesn't provide a way to get the metrics for the font as a whole, meaning have to generate them in a rather horrible way.

font sizing on AROS is not the same as on other systems. The bullet interface to FreeType is recalculating the metrics to better match the traditional Amiga way of talking about metrics, with the downside that it makes the glyphs smaller than they should be. Additionally, there's no way to get the display device DPI under AROS, making it quite impossible to have FreeType adjust the scale appropriately.



Examples[edit]

Reference[edit]

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)