Concatenative language
Other languages
Computer Science
Meta
= Mentor = [[Slava Pestov]] = Level = Intermediate = Skills required = - Knowledge of Unicode - Knowledge of the Win32 API - Knowledge of Factor's UI toolkit = Technical outline = Factor has Uniscribe bindings in %basis/windows/%. This needs to be hooked up with the %ui.text% API, namely the following operations need to be implemented: - rendering a piece of text to a DC - getting text width, height, baseline, cap height and x-height (last two optional) - getting font ascent, descent, cap height, x-height (all optional but nice) - convert x offset to code point number and vice versa The following vocabularies are useful to look at: - %core-text% - %core-text.fonts% - %ui.text% - %ui.text.core-text% = Helpful links = - [[http://www.microsoft.com/typography/developers/uniscribe/uniscribe.htm]] - [[http://msdn.microsoft.com/en-us/library/ms776483(VS.85).aspx]] - [[http://factor-language.blogspot.com/2009/03/rendering-unicode-text-with-pango-and.html]] - [[http://factor-language.blogspot.com/2009/02/metric-bounds-versus-image-bounds.html]] - [[http://factor-language.blogspot.com/2009/02/font-metrics-and-baseline-alignment.html]] - [[http://factor-language.blogspot.com/2009/01/rendering-unicode-text-to-opengl.html]]
Describe this revision:
Save