| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-12 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-fontcache.c (free_cache_entry,
cache_entry_unref, pango_win32_font_cache_load): Add more
debugging output.
* modules/basic/basic-win32.c (uniscribe_shape): Plug memory leak:
Free return value from pango_win32_font_logfont(). Call
pango_win32_font_cache_unload() for the hfont returned from
pango_win32_font_cache_load() after using it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-26 Tor Lillqvist <tml@iki.fi>
* pango-zip.sh.in: Use complete PANGO_VERSION in zip file
names.
* pango/Makefile.am: (Win32) Compile resource files and link with
them.
* pango/pango.rc.in
* pango/pangoft2.rc.in
* pango/pangowin32.rc.in: Include also the micro version number.
* pango/pangowin32-fontcache.c (logfont_hash): Use absolute value
of lfHeight.
* pango/pangowin32-fontmap.c (pango_win32_font_map_for_display):
Instead of HORZSIZE which is Windows idea of physical monitor
width (but which can be *very* wrong), use LOGPIXELSY (the
"logical" dpi). This can be set by the user by choosing "small
fonts", "large fonts", or a custom dpi in the Display Settings.
Thanks to Joaquin Cuenca Abela.
(pango_win32_make_matching_logfont): Set lfHeight to the negative
of the requested size. Positive lfHeight indicates "cell height",
negative "character height" (?), which is closer to what we want,
says Joaquin Cuenca Abela.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-17 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-private.h: Add pango_win32_os_version_info
variable, an OSVERSIONINFO struct.
* pango/pangowin32.c: Initialise it.
* pango/pangowin32.h: Set _WIN32_WINNT to 0x0501 before including
<windows.h> to get the ClearType-related macros defined (if recent
enough headers are used).
* pango/pangowin32-fontcache.c (pango_win32_font_cache_load): Set
desired font quality to CLEARTYPE_QUALITY if on XP (or later), and
the system settings ask for ClearType.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pango/pangowin32-fontcache.c, pango/pangox-fontcache.c: Minor doc edits.
* docs/tmpl/win32-fonts.sgml: Document PangoWin32FontCache.
* docs/tmpl/x-fonts.sgml: Document PangoXFontCache.
* docs/tmpl/glyphs.sgml: Document PangoGlyphInfo.
* docs/tmpl/opentype.sgml: Document PangoOTInfo, PangoOTTag,
PangoOTTableType.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-02 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32.c (pango_win32_render_layout_line): Silence gcc
-Wall, initialise a couple of variables.
* pango/pangowin32-fontmap.c: (pango_win32_insert_font): Store
"courier new" also under the name "courier", as that is what
gtk-demo (and presumably often other applications, too?) looks
for.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-02 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-fontcache.c (pango_win32_font_cache_load): Set
lfCharSet to DEFAULT_CHARSET always. Conditional debugging output
with the PING() macro.
* pango/pangowin32-fontmap.c: Make the size_infos hash table
actually work like it is suppposed to, not that I know if it
matters. I think that it's useless to store all the different
charset views of the same actual ttf font in the list. Will have
to do more testing.
(logfont_nosize_hash): Lowercase face name before calculating
hash.
(logfont_nosize_equal): Compare face names ignoring case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-23 Hans Breuer <hans@breuer.org>
* testfonts.c : removed the arbitrary limit to 10 fonts.
Instead make the command line params useful again and reduce
the default result bitmap size by decreasing the default
font size.
* pango/pangowin32-fontcache.c (pango_win32_font_cache_load):
Don't always turn on anti-aliasing. Respect the users settings
from 'Properties of Display/Effects'.
* pango/makefile.msc : updated, version 0.22
* pango/pango.def : updated externals
* pango/font.c pango/pango-coverage.c pango-utils.c
pango/pangowin32.c pango/shape.c :
coding style and static correctness
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-22 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-fontcache.c (pango_win32_font_cache_load):
Always turn on anti-aliasing.
2001-11-21 Tor Lillqvist <tml@iki.fi>
* pango/testfonts.c: Fix a couple of bugs, update for current
Pango API. It's not completely clear to me what the program is
supposed to do with the command line args. It does load a
matching font, but does nothing with it. It then always lists
*all* font families, and renders a string in each. This causes
a huge image with associated swapping to death if you have
lots of fonts... I added a restriction, only the first 10
fonts are rendered.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Nov 2 08:50:16 2001 Owen Taylor <otaylor@redhat.com>
* pango/{fonts.c,pango-color.c,pango-utils.c,
pangoft2-fontmap.c,pangowin32-fontcache.c,
pangowin32-fontmap.c, pangox-fontmap.c}:
Patch from Darin Adler, with updates, to use
g_ascii_* instead of locale-dependent variants
(#55833).
* pango/fonts.c: Use g_ascii_dtostr, g_ascii_strtod().
|
|
|
|
|
|
|
|
|
|
| |
2000-11-15 Tor Lillqvist <tml@iki.fi>
* config.h.win32: Define HAVE_FRIBIDI.
* pango/pango.def: Add new functions.
* pango/pango{win32*,ft2*}.[ch]: Add my name to copyright notice.
|
|
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().
|