Aros/Developer/Docs/Libraries/Bullet

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Navbar for the Aros wikibook
Aros User
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
Aros x86 Complete System HCL
Aros x86 Audio/Video Support
Aros x86 Network Support
Aros Intel AMD x86 Installing
Aros Storage Support IDE SATA etc
Aros Poseidon USB Support
x86-64 Support
Motorola 68k Amiga Support
Linux and FreeBSD Support
Windows Mingw and MacOSX Support
Android Support
Arm Raspberry Pi Support
PPC Power Architecture
misc
Aros Public License

Introduction[edit | edit source]

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 | edit source]

References[edit | edit source]

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)