| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* examples/Makefile.am, modules/arabic/Makefile.am,
modules/basic/Makefile.am, modules/hangul/Makefile.am,
modules/hebrew/Makefile.am, modules/indic/Makefile.am,
modules/tamil/Makefile.am, modules/thai/Makefile.am,
pango/Makefile.am, pango/mini-fribidi/Makefile.am,
pango/opentype/Makefile.am, tests/Makefile.am: Compile with
-DG_DISABLE_DEPRECATED. See #52790.
|
|
|
|
|
|
|
|
| |
2001-12-12 Sven Neumann <sven@gimp.org>
* pango/mini-xft/minixftinit.c: include config.h so the definition
of MINI_XFTCONFIG_DIR is actually used (spotted by Sebastian Klemke
<packet@convergence.de>).
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-12 Alexander Larsson <alla@lysator.liu.se>
* pango/pangoft2-fontmap.c (pango_ft2_font_map_load_fontset):
Initialize MiniXft library before calling MiniXftConfigSubstitute.
* pango/mini-xft/minixftdir.c (MiniXftDirScan):
Changed back filename from MiniXftCache to XftCache for
compat with Xft.
|
|
|
|
|
|
|
| |
2001-12-11 Alex Larsson <alexl@redhat.com>
* pango/pangoft2.c (pango_ft2_render):
Fix the details in clipping to the bitmap size.
|
|
|
|
|
|
| |
* modules/basic/tables-big.i: change "EUC-CN" to "GB2312" which
is the canonical name for gb2312.1980 charset used in libcharset.
(#66174)
|
|
|
|
|
|
|
|
|
|
| |
Mon Dec 10 09:18:09 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_index_to_pos):
Fix problem with returned width on lines other than
the first line (#66274).
* pango/pangox,ft2,win32.c (pango_*_render_layout):
Fix problem where indent wasn't honored (#66275).
[ Note, however, there are remaining problems - see, #66626 ]
|
|
|
|
|
|
|
|
| |
Thu Dec 6 19:07:31 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (get_items_log_attrs): Fix problem
where length passed in didn't get adjusted for paragraph
delimiters.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* pango/break.c (pango_default_break): Simplify by
being lazy and calling g_utf8_strlen() (causes a
two passes over the array but shouldn't be a huge
performance loss). Fix bug where attributes weren't
set correctly for empty strings. Handle internal
NULLs consistently with other functions (truncate)
rather than dying with an assertion failure. (#65183)
|
|
|
|
|
|
|
|
|
| |
* modules/basic/basic-x.c
(conv_eucjp): handle codeset1(right half of jisx0201.1976)
and codeset3(jisx0212.1990) of EUCJP
(conv_16bit): renamed from the old conv_euc - handle 16bit
character sets only.
* modules/basic/tables-big.i: add jisx0212, jisx0201 and big5.
|
|
|
|
|
|
|
|
| |
2001-12-04 Manish Singh <yosh@gimp.org>
* pango/modules.c
* pango/querymodules.c: g_module_symbol takes a gpointer *, not just
a gpointer.
|
|
|
|
|
|
|
| |
* docs/pango-sections.txt, docs/tmpl/fonts.sgml,
docs/tmpl/modules.sgml: Updates.
* pango/modules.c: Documentation fixes.
|
|
|
|
|
|
|
|
|
| |
2001-12-04 Sven Neumann <sven@gimp.org>
* pango/pangoft2-fontmap.c
(pango_ft2_font_map_init): set n_families to -1 (uninitialized).
(pango_ft2_font_map_list_families): set n_faces to -1 (uninitialized).
This makes list_families and list_faces work again for PangoFT2.
|
| |
|
| |
|
|
|
|
| |
* pango/pango-fontset.c: Documentation fixes.
|
|
|
|
| |
* pango/pango-fontset.c: Documentation updates.
|
|
|
|
|
|
|
| |
Thu Nov 29 11:40:51 2001 Owen Taylor <otaylor@redhat.com>
* examples/viewer-qt.cc: Include qpainter.h - apparently
needed for Qt 3. (Patch from Dennis Dementiev)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-27 Alex Larsson <alexl@redhat.com>
* pango/pangoft2-private.h
* pango/pangoft2-fontmap.c (_pango_ft2_font_desc_from_pattern):
Take extra parameter include_size that determines if the
descriptor includes the size.
* pango/pangoft2.c (_pango_ft2_font_new):
Include size in ft2font->description.
* pango/pangoxft-private.h
* pango/pangoxft-fontmap.c (_pango_xft_font_desc_from_pattern):
Take extra parameter include_size that determines if the
descriptor includes the size.
* pango/pangoxft-font.c:
Include size in xfont->description.
|
|
|
|
|
|
|
| |
Mon Nov 26 19:24:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in tests/Makefile.am tests/cxx-test.C: Add
a test program that includes all headers in a C++ program.
(#52606)
|
|
|
|
|
|
|
|
| |
2001-11-26 Alex Larsson <alexl@redhat.com>
* pango/pangoxft-font.c (pango_xft_font_get_coverage):
Don't leak filename copy.
* pango/pangoxft-fontmap.c (pango_xft_font_map_load_font):
Don't leak matched pattern
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Nov 26 18:17:00 2001 Owen Taylor <otaylor@redhat.com>
* tests/Makefile.am tests/gen-all-unicode.c: Instead
of including all-unicode.txt in the distribution, include
a small program to generate it.
* modules/hangul/hangul-x.c (render_syllable_with_ksc5601): When
falling back to uncomposed Jamos, if we can't render a Jamo
in any way, use the unknown glyph rather than nothing.
* modules/hangul/hangul-x.c (hangul_engine_shape): Prevent
overflows for invalid sequences which can be of arbitrary
length. (#50086)
* modules/arabic/arconv.c: New versions from Roozbeh Pournader.
- Replacing the tables with automatically-generated ones
- Using binary search instead of linear search for table lookup
- Updating all the names with Unicode names (eg Nun -> Noon)
- Fixed the Hamza mixup, using the Unicode rules
- Updating missed cases (eg Superscript Alef was missing from
arabic_isvowel)
- Removing too-intelligent cases which made the code non-compliant
(eg Alef with Hamza above+Kasra was changing to Alef with Hamza below)
- Removing 'connecttoleft' from 'charstruct' (replacing it with a macro)
- Indenting in the GNU style
|
|
|
|
|
|
|
| |
* pango/pangoft2.c (pango_ft2_font_get_coverage): Documentation.
* modules/basic/basic-ft2.c (basic_engine_get_coverage): Use
pango_font_get_coverage().
|
|
|
|
|
|
|
| |
Mon Nov 26 11:31:01 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am: Workaround to work a little better with
automake-1.5 - make $(libpango_la_OBJECTS) as well as $(OBJECTS)
depend on pango_built_headers.
|
|
|
|
|
|
|
|
|
| |
Sun Nov 25 22:35:46 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (have_fribidi) README: Disable --with-fribidi; it offers
no advantages and until either fribidi is updated to use Glib-2.0
always, or the Glib dependecy is removed from fribidi entirely, there
will be problems with this option.
* pango/mini-fribidi/README: Update fribidi URL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-24 Manish Singh <yosh@gimp.org>
* acconfig.h
* configure.in: support for --with-xftconfig-dir= path to system
XftConfig file
* pango/pango-utils.c
* pango/pangox.c: include "config.h", not <config.h>
* pango/pangoxft-fontmap.c: this file is pangoxft-fontmap.c, not
pangoxft-fontmap.h :)
* pango/mini-xft/minixftint.h
* pango/mini-xft/minixftinit.c: add code for searching common
locations for the XftConfig file. We search MINI_XFTCONFIG_DIR
if configure defines it for us (as above), then $sysconfdir,
then (only on !_WIN32) /etc/X11 and /usr/X11R6/lib/X11.
|
|
|
|
|
|
|
| |
Sat Nov 24 13:44:21 2001 Kristian Rietveld <kristian@planet.nl>
* pango/pango-fontmap.c (pango_font_map_real_load_fontset):
free the font description when we don't need it anymore
|
|
|
|
|
|
| |
* pango/break.c (pango_default_break):
Fix for bug 65183; i.e. do not call g_utf8_next_char(next) when
next is end.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
* docs/pango-sections.txt: Remove duplicates.
* docs/tmpl/fonts.sgml: Document PANGO_TYPE_FONTSET
and PANGO_TYPE_FONTSET_SIMPLE.
* pango/pangoxft-font.c: Fix typos in some doc comments.
|
|
|
|
|
|
|
|
|
| |
Thu Nov 22 14:23:07 2001 Owen Taylor <otaylor@redhat.com>
* Version 0.22
* configure.in (GLIB_REQUIRED_VERSION): Require
GLib-1.3.11
|
|
|
|
|
|
|
|
|
| |
Wed Nov 21 12:54:39 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (PANGO_MINOR_VERSION): Version 0.22.
* NEWS: Updated
* docs/pango-sections.txt Makefile.am: Update.
* pango/pango-layout.c (process_item): Don't look
like a doc comment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2001-11-20 Alex Larsson <alexl@redhat.com>
* pango/pangoxft-font.c (pango_xft_font_finalize):
Don't free font_pattern if we opened the XftFont, since the
XftFont claims ownership of it.
|
|
|
|
|
|
|
| |
2001-11-20 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-fontmap.c (pango_win32_font_map_load_font): Fix
typo.
|
|
|
|
|
|
|
|
| |
2001-11-18 Alex Larsson <alexl@redhat.com>
* pango/pangoft2.[ch] (pango_ft2_get_context):
Take both dpi_x and dpi_y as arguments. Doesn't currently handle
dpi_x correctly, but at least the API is in.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-18 Alex Larsson <alexl@redhat.com>
* pango/pango-context.[ch]:
Add new function pango_context_load_fontset() to wrap
pango_font_map_load_fontset().
Add PangoContext arguments to load_font and load_fontset.
* pango/pango-fontmap.[ch]:
* pango/pangoft2-fontmap.c:
* pango/pangowin32-fontmap.c:
* pango/pangox-fontmap.c:
* pango/pangoxft-font.c:
* pango/pangoxft-fontmap.c
Add PangoContext arguments to load_font and load_fontset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-19 Tor Lillqvist <tml@iki.fi>
* pango-zip.sh.in: Suffix package names with datestamp. Add
the Pango modules.
* pango/pango.def: pango_context_add_font_map ->
pango_context_set_font_map. Add pango_fontset_*.
* pango/pangoft2.def: Reflect Alexander's changes.
* pango/mini-xft/minixftinit.c (get_xft_default_path): New
function. Use pango_get_sysconf_subdirectory () to construct a
suitable path.
* pango/mini-xft/minixftint.h: On Win32, don't use the hardcoded
/usr/X11R6/lib/X11/XftConfig path (or any other hardcoded path),
but instead the function get_xft_default_path().
* pango/mini-xft/minixftcache.c (MiniXftFileCacheSave): On Win32,
don't use link() and unlink() for the lock file. Instead, use a
lock directory.
|
|
|
|
|
|
|
| |
2001-11-18 Alexander Larsson <alla@lysator.liu.se>
* pango/pangoxft-fontmap.c:
Add XFT_MATRIX and XFT_MINSPACE macro definitions if missing.
|
| |
|
|
|
|
|
| |
* pango/pango-fontset.[ch]:
New PangoFontset class.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-17 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Check for LEX and YACC. This will be made optional later,
with the build sources checked in to cvs.
Generate pango/mini-xft/Makefile
* modules/basic/basic-ft2.c:
Use the new pangoft2 API.
* pango/Makefile.am:
Build mini-xft.
Add new files.
* pango/pango-context.[ch]:
Support only one fontmap per context.
Use pango_font_map_load_fontset() and PangoFontset instead
of internal fontset.
* pango/pango-fontmap.[ch]:
New virtual function pango_font_map_load_fontset() and
default implementation that uses pango_font_map_load_font().
* pango/pango-utils.[ch] (pango_lookup_aliases):
Utility function for looking up aliases. This can be
used by backend that has no backend specific aliases.
* pango/pangoft2-fontcache.c:
Removed file.
* pango/pangoft2-fontmap.c:
* pango/pangoft2-private.h:
* pango/pangoft2.c:
* pango/pangoft2.h:
Major rewrite. Doesn't handle fontsets. Uses mini-xft so that
it will always match the PangoXft backend. Simplified the
public API.
* pango/pangowin32.c:
* pango/pangox.c:
pango_context_add_font_map -> pango_context_set_font_map
* pango/pangoxft-font.c:
* pango/pangoxft-fontmap.c:
* pango/pangoxft-private.h:
New code to handle fontsets.
* pango/mini-xft/*:
Mini version of libXft from XFree86 in order to have
the pangoFT2 and pangXft backends have same config files and
generate the same fonts.
|
|
|
|
| |
* docs/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* docs/Makefile.am (IGNORE_HFILES): Add pangoxft-private.h.
* pango/pango-utils.c (pango_language_from_string): Fix typo in
documentation.
* docs/tmpl/text-attributes.sgml: Document PangoColor, PangoLanguage,
PangoAttrLanguage, PangoAttrFloat and PangoAttrShape.
* docs/tmpl/layout.sgml: Document PangoWrapMode and PangoLayoutIter.
* docs/tmpl/tab-stops.sgml: Document PangoTabAlign and PangoTabArray.
* docs/tmpl/fonts.sgml: Document PangoFontMask.
* pango/fonts.c (pango_font_description_unset_fields): Fix typo in
documentation.
* docs/tmpl/opentype.sgml: Remove documentation templates of the
unimplemented functions pango_ot_ruleset_set_glyph_loader and
pango_ot_ruleset_set_alternate_func and the related typedefs
PangoOTGlyphLoader and PangoOTAlternateFunc.
* docs/tmpl/x-rendering.sgml: Document PangoGetGCFunc and
PangoFreeGCFunc typedefs.
|
|
|
|
|
|
|
|
| |
2001-11-08 Tor Lillqvist <tml@iki.fi>
* pango-zip.sh.in: Build separate developer package.
* pango/pango.def: Add pango_color_parse.
|
|
|
|
|
|
|
|
| |
Mon Nov 5 12:23:07 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft.h pango/pangoxft-font.c: Add a function
pango_xft_picture_render() to render onto an Xft picture
directly linstead of using the XftDraw wrapper object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-03 Hans Breuer <hans@breuer.org>
* pango/modules.c : don't bother with module dir
recalculation if LIBDIR isn't defined
* pango/pangowin32-fontmap.c : make it compile again
after the g_ascii_* change below. Use EnumFontFamiliesExA
to ensure to use the ascii version, though defining
UNICODE for G_OS_WIN32 will break at other place anyway.
* pango/makefile.msc : use (hopefully temporary) DIRENT_CFLAGS
and DIRENT_LIBS (see #63667)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Nov 2 13:56:58 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c: Patch from Alex Larsson to improve
line breaking algorithm so that it doesn't do O(n^2) --
each character is shaped at most twice - once to get the
widths, and once if the run is broken. Also, quite a
bit of cleanup to consistently use the ParaBreakState
object to keep track of the state of the line-break
process. (#62014)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-31 Tor Lillqvist <tml@iki.fi>
* pango/modules.c (process_module_file): Neat Win32 feature: A
prebuilt Pango package can be installed in a random
location (i.e., not the same used when configuring and building
the software). The pango.modules file provided with the package
contains paths on the packager's system, not the end-users. We
notice this, and replace with the corresponding path in the
installation directory on the end-user's machine.
* pango/pango-utils.c: Use G_WIN32_DLLMAIN_FOR_DLL_NAME.
(pango_get_sysconf_subdirectory,pango_get_lib_subdirectory): No
need to call g_path_get_basename on the DLL name, DllMain already
does it.
|