summaryrefslogtreecommitdiff
path: root/examples/pangowin32.aliases
Commit message (Collapse)AuthorAgeFilesLines
* Add some more fonts. Document where to get the fonts.Tor Lillqvist2000-07-201-4/+42
| | | | | | | 2000-07-20 Tor Lillqvist <tml@iki.fi> * examples/pangowin32.aliases: Add some more fonts. Document where to get the fonts.
* Add Tahoma and Angsana New, these common fonts have Thai characters.Tor Lillqvist2000-07-181-2/+2
| | | | | | | | | | | | | | | 2000-07-19 Tor Lillqvist <tml@iki.fi> * examples/pangowin32.aliases: Add Tahoma and Angsana New, these common fonts have Thai characters. * pango/pangowin32-private.h: Rename fonts and n_fonts members to logfonts and n_logfonts, as that is what they are. * pango/pangowin32.c: Bug fixes. Works much better now. (pango_win32_font_get_glyph_extents): Set y offset correctly. (subfont_has_glyph): Call SetTextAlign. Select the font into the HDC before calling GetTextMetrics.
* pango/pangowin32.h pango/pangowin32-private.h pango/pangowin32-fontcache.cTor Lillqvist2000-07-151-0/+7
2000-07-15 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.h * pango/pangowin32-private.h * pango/pangowin32-fontcache.c * pango/pangowin32-fontmap.c * modules/basic/basic-win32.c * examples/viewer-win32.c * examples/pangowin32.aliases: New files. Start of a Win32 implementation. Does not work yet. * configure.in: Chek for dirent.h and unistd.h. * pango/pango-utils.h * pango/pango-utils.c (pango_get_sysconf_subdirectory, pango_get_lib_subdirectory): New functions, for better portability, to enable installation-time choice of directory (on Windows) instead of compile-time. Use these instead of SYSCONFDIR "/pango" and LIBDIR "/pango". (pango_split_file_list): Fix comment, the function splits on searchpath separators, not commas. Use G_SEARCHPATH_SEPARATOR_S for portability. Don't try to expand '~' as home directory on Windows. (read_config): Use pango_get_sysconf_subdirectory(). * pango/modules.c (read_modules): Use pango_get_sysconf_subdirectory(). Don't crash if a module file cannot be opened. * pango/querymodules.c: Include config.h Conditionalize inclusion of dirent.h and unistd.h. Use platform-specific shared library extension. Use pango_get_lib_subdirectory().