| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-14 Havoc Pennington <hp@redhat.com>
* pango/fonts.c (pango_font_find_shaper): add assertion that
shaper != NULL to catch engine problems faster
* pango/Makefile.am (libpangox_la_SOURCES): modules.[hc] and
module-defs.c have to go in libpangox for now since the modules
use the X stuff, and static linkage won't let you play games here
* examples/Makefile.am (pango_viewer_LDADD): fix order of link
* modules/indic/pango-indic-script.h (pango_indic_get_char): make
this a macro, so it doesn't collide between modules
* modules/*/Makefile.am: Fix to work if the module isn't included
* examples/Makefile.am: don't query modules if we didn't build any
* modules/indic/gurmukhi.c (MODULE_ENTRY): fix prefix
* modules/indic/bengali.c (MODULE_ENTRY): fix prefix
* modules/indic/gujarati.c (MODULE_ENTRY): fix prefix
* modules/indic/devanagari.c (MODULE_ENTRY): fix prefix
* modules/indic/myanmar.c (MODULE_ENTRY): uniquely prefix the functions
* modules/Makefile.am (MODULES): handle case where there are no
modules to query
* configure.in: Fix up include_modules stuff to work with Indic
* pango/glyphstring.c (pango_glyph_string_set_size): Just
g_error() if the glyph string exceeds maximum integer size,
instead of mysteriously crashing later.
|
|
|
|
|
|
|
|
|
| |
2000-12-15 Tor Lillqvist <tml@iki.fi>
* pango/pangoft2.c (pango_ft2_ft_strerror): Update for newest
FreeType2.
(pango_ft2_font_finalize): gcc warns about empty format strings,
so use just a space...
|
|
|
|
|
|
|
| |
2000-12-11 Havoc Pennington <hp@redhat.com>
* tests/boundaries.utf8: Add some jamo and viramas and unicode
para separators and \r\n and so on, crashes the text widget nicely
|
|
|
|
| |
#include <string.h>
|
|
|
|
|
|
|
| |
Mon Dec 11 15:20:24 2000 Owen Taylor <otaylor@redhat.com>
* examples/HELLO.utf8: Add a tab into to Yiddish line
to force correct segmentation around the parentheses.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-30 Havoc Pennington <hp@pobox.com>
* modules/thai/thai.c: delete lang engine
* modules/tamil/tamil.c: delete lang engine
(tamil_engine_x_new): fix type tag for shape engine
* modules/indic/myanmar.c: delete lang engine
(pango_engine_x_new): fix type tag for shape engine
* modules/indic/gurmukhi.c: delete lang engine
(pango_indic_engine_x_new): fix type tag for shape engine
* modules/indic/gujarati.c: delete lang engine
(pango_indic_engine_x_new): fix type tag for shape engine
* modules/indic/devanagari.c: delete lang engine
(pango_indic_engine_x_new): fix type tag for shape engine
* modules/indic/pango-indic-script.h (SCRIPT_ENGINE_DEFINITION):
delete lang engine
* modules/indic/bengali.c: delete the lang engine
(pango_indic_engine_x_new): fix type tag for shape engine
* modules/hangul/hangul.c: delete the lang engine
(hangul_engine_x_new): fix type tag for shape engine
* modules/basic/basic.c: delete the lang engine
(basic_engine_x_new): fix type tag for shape engine
* modules/basic/basic-win32.c: delete the lang engine
(basic_engine_win32_new): this was a shape engine,
use correct type tag
* modules/basic/basic-ft2.c: delete the lang engine
* modules/arabic/arabic.c: Delete the lang engine
(arabic_engine_x_new): this is a shape
engine, not a lang engine, fix type tag
* pango/pango-layout.c (pango_layout_index_to_line_x): handle
the fact that paragraph delimiters aren't in the layout lines
(pango_layout_index_to_pos): update to handle paragraph
delimiters
* pango/break.c (pango_find_paragraph_boundary): New function
to find paragraph boundaries
* pango/pango-layout.c (get_items_log_attrs): don't separate calls
to pango_break() when directional level changes
* pango/pango-layout.h (struct _PangoLayoutLine): put start index
of the line into the struct
* pango/pango-layout.c (pango_layout_get_cursor_pos): Fixups to
reflect the fact that paragraph separators are removed from the
input text.
* pango/pango-layout.c (can_break_at): don't
special-case start of line and whitespace-following-alphabetic
here, because pango_break() already handles that properly
* tests/testboundaries.c, tests/Makefile.am, tests/runtests.sh:
Add directory for test programs, and a script to run them all
* configure.in: Create Makefile in tests
* pango/break.c (pango_break): Try for a real implementation of
the Unicode text boundary algorithms
(pango_get_log_attrs): Allow length to be -1
* pango/pango-context.c (pango_itemize): use pango_item_new(),
assert that items added to the list are sane.
* pango/pango-layout.c (pango_layout_check_lines): Reimplement
to honor the paragraph boundaries from pango_break()
* pango/pango-layout.c (process_item): use pango_item_split() here
* pango/pango-item.c (pango_item_split): New function to split an
item into two items
|
|
|
|
|
|
|
|
| |
Fri Dec 1 11:49:50 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (get_tab_pos): Make sure that
we don't end up in an infinite loop due to zero-width
tabs. (Fix problem found by Hans Breuer)
|
|
|
|
|
|
|
|
|
|
| |
2000-12-01 Tor Lillqvist <tml@iki.fi>
* pango/pango-utils.c (pango_get_sysconf_subdirectory): Use
g_file_test().
* examples/viewer-win32.c (main): Disable double buffering on the
layout widget only when building with GTK+ 1.3.2 or newer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-30 Tor Lillqvist <tml@iki.fi>
* pango/makefile.mingw.in (DEFINES): Define PANGO_VERSION.
Changes by Hans Breuer:
* pango/pango-layout.c (shape_tab): Add a FIXME comment.
* pango/pango-markup.c (compare_xcolor_entries): Use g_strcasecmp.
* pango/pango-utils.c (pango_get_sysconf_subdirectory): Use second
fallback location if there is no pango subdir in the Windows
directory.
* pango/pangowin32-fontmap.c
(pango_win32_font_entry_get_coverage): Check if fopen succeeded.
* pango/pangowin32-private.h (DEBUGGING): Turn off.
* pango/pangowin32.c (pango_win32_unicode_classify): We can in
fact get out of the loop. Return invalid value in that case.
(subfont_has_glyph): Improve performance a bit.
* pango/querymodules.c: Small change for MSVC build.
* modules/basic/basic-win32.c (basic_engine_get_coverage):
Performance improvement.
* examples/viewer-win32.c (main): Disable double buffering on the
layout widget.
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Nov 29 11:08:52 2000 Owen Taylor <otaylor@redhat.com>
* pango/mini-fribidi/fribidi.c pango/mini-fribidi/fribidi-tables.i:
Some tiny changes to correspond to fribidi-0.15
* pango.pc.in pango-config.in pango/Makefile.am:
Move headers into separate subdir, to avoid
clashes with future versions of Pango.
|
|
|
|
|
|
|
|
|
|
| |
2000-11-20 Tor Lillqvist <tml@iki.fi>
* Makefile.am (EXTRA_DIST): Add README.win32.
* examples/pangoft2.aliases: Add this file to CVS.
* examples/Makefile.am (EXTRA_DIST): Add it here.
|
|
|
|
| |
Fix warnings - mostly include string.h for strcmp.
|
|
|
|
|
|
|
| |
2000-11-20 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (update_run): Fix this to make iteration
over runs work properly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-19 Tor Lillqvist <tml@iki.fi>
* README.win32: New file.
* pango/fonts.c (pango_font_description_to_filename): New
function. As pango_font_description_to_string, but with result
that is better suitable as a filename: No spaces or other strange
characters, all in lowercase.
(pango_font_describe): Implement this function, call the
corresponding method.
* pango/pango-font.h: Declare pango_font_description_to_filename.
* pango/pangowin32.c (pango_win32_font_describe)
* pango/pangoft2.c (pango_ft2_font_describe): Implement these.
* pango/pangoft2-fontmap.c (pango_ft2_font_entry_get_coverage)
* pango/pangowin32-fontmap.c (pango_win32_font_entry_get_coverage):
Implement file-based persistent caching of coverages.
* pango/pangoft2-private.h (struct _PangoFT2FontEntry)
* pango/pangowin32-private.h (struct _PangoWin32FontEntry): Move
struct definition here from the -fontmap files.
* pango/pango.def: Updates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Nov 17 16:12:34 2000 Owen Taylor <otaylor@redhat.com>
* Released 0.13
* NEWS: Updates for 0.13
Fri Nov 17 16:04:19 2000 Owen Taylor <otaylor@redhat.com>
* tools/Makefile.am (EXTRA_DIST): Add maps/tis-620
* Makefile.am (EXTRA_DIST): Added TODO.xml
* pango/Makefile.am (EXTRA_DIST): Add .def files
for Win32.
* examples/Makefile.am (EXTRA_DIST): Add a couple
of missing files.
* docs/Makefile.am (dist-hook): Add back accidentally
removed rule to distribute TEXT/*.
|
|
|
|
|
|
|
| |
Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com>
* pango/glyphstring.c (pango_glyph_string_extents_range): Test
against start not zero.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* docs/pango-sections.txt docs/tmpl/modules.sgml: Add
pango_module_register ().
* pango/modules.c: Make ordering of module lookup
predictable.
* pango/modules.c (pango_module_register): Add a
useful doc comment.
* pango/pango-modules.[ch]: Fix indentation.
* .cvsusers: Added
|
|
|
|
|
|
|
| |
2000-11-16 Havoc Pennington <hp@redhat.com>
* pango/modules.c (handle_included_module): Declare variable j so
it compiles
|
|
|
|
|
|
|
| |
* pango/modules.c: Make some vars static.
Implement pango_module_register function.
* pango/pango-modules.h, pango/modules.h: Move declaration of
PangoIncludedModule to pango-modules.h for public use.
|
|
|
|
|
|
|
| |
Wed Nov 15 16:56:38 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (process_item): Fix problem with
unbreakable words at start of line longer than line width.
|
|
|
|
|
|
|
|
| |
Wed Nov 15 15:04:00 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_get_extents_internal):
Fix problem where right-aligned lines weren't getting properly
offset because width was left as -1.
|
| |
|
|
|
|
|
|
|
|
| |
Wed Nov 15 10:50:38 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (process_line): Rewrite of good
portions of line-break code to be more readable, work
better, and maybe even be a little faster.
|
|
|
|
|
|
|
|
| |
2000-11-14 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (pango_layout_get_item_properties): get the
value of any rise attribute
(pango_layout_run_get_extents): take rise into account
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Nov 14 11:10:24 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_run_get_extents):
Fix low underline code to deal with run_ink == NULL.
* pango/pango-utils.c (pango_read_line): Return number
of lines read to allow decent parse errors line numbers.
* pango/pangox-fontmap.c (pango_x_font_map_read_alias_file):
Fix line number count.
* examples/pangox.aliases: Include extra international fonts
for all styles, not just roman, reindent so it looks
halfway legible.
|
|
|
|
|
|
|
|
|
| |
2000-11-13 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (pango_layout_get_cursor_pos): Don't need
to check_lines, pango_layout_get_iter() will do that
(next_cluster_start): don't ever return a value past the end
of the glyph string
|
|
|
|
|
|
| |
2000-11-13 Havoc Pennington <hp@redhat.com>
* examples/pangox.aliases: Add italic/bold variants
|
|
|
|
|
|
| |
Patches from long ago:
* pango/pango-layout.c: Make pango_layout slightly more robust.
Do check_lines before getting cursor position.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-13 Havoc Pennington <hp@redhat.com>
* docs/pango-sections.txt: Add new PangoLayoutIter entry points
* pango/glyphstring.c (pango_glyph_string_extents_range): New
function
* pango/pango-layout.c: Create PangoLayoutIter for iterating over
a layout's visual elements
* pango/pango-layout.c (pango_layout_check_lines): plug
a memleak (attr iterator not freed)
* pango/pango-tabs.c (pango_tab_array_free): plug a memleak
(array->tabs not freed)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Nov 13 09:17:34 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c: Remove fribidi include.
* pango.pc.in (Requires): Substitute fribidi reference only
when necessary
* Makefile.am (pkgconfigdir): pkgconfigdir is $(libdir)/pkgconfig
* modules/indic/Makefile.am (EXTRA_DIST): Add pango-indic-script.h
* fonts/Makefile.am (EXTRA_DIST): Remove devnag*
* configure.in: Up version to 0.13
* docs/pango-docs.sgml: Reorganize, add all new chapters.
* docs/pango-sections.txt: Update
* docs/Makefile.am (IGNORE_HFILES): add mini-fribidi
pango-intset.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* pango/pango-attributes.c, pango/pango-attributes.h: Renamed
pango_attribute_compare to pango_attribute_equal. Renamed compare
member of PangoAttrClass to equal. Renamed some static functions
from ..._compare to ..._equal.
* pango/fonts.c, pango/pango-font.h, pango/pango-context.c:
Renamed pango_font_description_compare to
pango_font_description_equal.
* docs/pango-sections.txt, docs/tmpl/fonts.sgml,
docs/tmpl/text-attributes.sgml: Changed accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-12 Havoc Pennington <hp@pobox.com>
* pango-config.in: Remove UNICODE_LIBS UNICODE_CFLAGS
* modules/thai/Makefile.am (pango_thai_la_LIBADD): ditto
* modules/basic/Makefile.am: ditto
* pango/Makefile.am: ditto
|
|
|
|
| |
(-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0)
|
|
|
|
|
|
|
|
|
| |
Mon Nov 13 02:39:44 2000 Robert Brady <robert@suse.co.uk>
* pango/modules/hangul/hangul.c: Replace fallback shaper
with a call to pango_x_fallback_shape, this sets the
cluster array properly.
-------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Nov 12 18:36:38 2000 Owen Taylor <otaylor@redhat.com>
* configure.in (included_modules): Remove checks
for iconv - we now depend on g_iconv wrapper defined
in GLib.
* modules/basic/basic.c: Use g_iconv_* not iconv().
* pango/itemize.c pango/pango-context.c modules/thai/thai.c:
Remove spurious iconv.h includes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Nov 12 16:07:06 2000 Owen Taylor <otaylor@redhat.com>
* configure.in pango/pango-utils.[ch] pango/Makefile.am
pango/mini-fribidi/*: Include a stripped-down version of fribidi
to avoid the extra dependency. No fribidi symbols are
exported so conflicts with the real fribidi should not
happen. Library can optionally be compiled with the
real libfribidi.
* pango/pango-utils.[ch]: Wrappers for
fribidi_ functions when compiling with fribiid.
* modules/basic/basic-ft2.c modules/basic/basic-win32.c
modules/basic/basic.c modules/thai/thai.c pango/Makefile.am
pango/itemize.c pango/pango-context.c pango/pangoft2.c
pango/pangowin32.c pango/pangox.c: Use pango_ versions of fribidi
functions.
|
|
|
|
|
|
|
| |
2000-11-12 Robert Brady <robert@suse.co.uk>
* pango/pango-indic.c (pango_shift_vowels): Don't corrupt the
array.
|
|
|
|
|
|
|
| |
2000-11-12 Havoc Pennington <hp@pobox.com>
* pango/pango-layout.c (pango_layout_get_text): Add accessor to
get the text from the layout
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-11 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32.c (pango_win32_render): Add code to call
SetTextAlign, but commented out.
* pango/makefile.mingw.in (PANGO_OBJS): Add new objects.
* pango/pango.def: Add new functions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-08 Robert Brady <rwb197@zepler.org>
* pango/pangox-fontmap.c, pango/pangox-private.h: Add a
per-PangoXFontMap cache for X Atoms.
* pango/pango-intset.c, pango/pango-intset.h: Integer set.
* pango/pangox.c, pango/pangox.h: Mainly add two new functions,
font_struct_get_ligatures, to parse X font properties for ligature
info, and pango_x_apply_ligatures, which does that actual ligation.
Also add utility functions pango_x_fallback_shaper,
pango_x_find_first_subfont.
* pango/pango-indic.c, pango/pango-indic.h: Utility functions for
Indic scripts.
* pango/Makefile.am: Add pango-intset, pango-indic.
|
|
|
|
|
|
| |
Thu Nov 2 16:21:22 2000 Owen Taylor <otaylor@redhat.com>
* New Arabic shaper from Karl Koehler.
|
|
|
|
|
|
|
| |
2000-11-01 Havoc Pennington <hp@redhat.com>
* pango/pango-markup.c (pango_parse_markup): Return the accel
keyval
|
|
|
|
|
|
|
| |
2000-11-01 Havoc Pennington <hp@redhat.com>
* pango/pango-markup.c (text_handler): Fix bug where not all text
was appended when parsing accelerators
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-01 Havoc Pennington <hp@pobox.com>
* pango/pango-attributes.c (pango_attr_scale_new): Add a new
attribute for scaling a font; also required adding PangoAttrFloat.
(pango_attr_iterator_get_font): Add PANGO_ATTR_SCALE handling.
* pango/pango-utils.c (pango_parse_stretch): Take a plain string
not a GString
(pango_parse_weight): ditto
(pango_parse_variant): ditto
(pango_parse_style): ditto
* pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): pass
GString::str instead of the GString itself to pango_parse_*
* pango/pangoft2-fontmap.c (pango_ft2_insert_face): ditto
* pango/pangowin32-fontmap.c
(pango_win32_font_map_read_alias_file): ditto
* pango/pango-layout.c (get_tab_pos): adapt to new pango_itemize()
signature
(pango_layout_check_lines): Raise attr list copy/creation out of
the loop over paragraphs. Adapt to pango_itemize() changes.
* pango/pango-context.c (pango_itemize): pass in a starting
index and a cached iterator
(add_engines): Easy optimization, pass in
n_chars instead of recomputing it. Also, pass on the start
index and cached iterator.
* docs/pango-sections.txt: Add new stuff
docs/pango_markup.sgml: Docs on markup format
* pango/pango-layout.c (pango_layout_get_attributes): New function
to retrieve the AttrList from a layout
(pango_layout_set_markup): Set layout from markup
(pango_layout_set_markup_with_accel): Set layout from markup
including accelerator parsing.
* pango/pango-attributes.h (pango_parse_markup): New function to
convert a tag string to an attribute list
* pango/pango-markup.c (pango_parse_markup): implement
* docs/Makefile.am, docs/pango-docs.sgml, docs/pango-sections.txt,
docs/pango_markup.sgml: oooooh, documentation for the above patch!
* docs/tmpl/pango-unused.sgml: Remove from CVS; just causes
problems, and was full of checked-in conflict markers.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Sep 12 10:21:08 2000 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (pango_map_get_entry): Added docs
for the publically exported functions in this module,
even though they are really only semi-public
(for people implementing new types of #PangoFont),
not public
* pango/pango-utils.c (pango_read_line): Minor bug
tweak.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Oct 29 01:27:39 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-fontcache.c pango/pangoft2.[ch]
pango/pangowin32.h: Fix up doc comments not to
have obvious errors that gtk-doc barfs on. Correct
parameter descriptions still need to be filled in.
* configure.in pango/docs/Makefile.am: upgrade to
have a real install rule, etc.
* pango/docs/pango-sections.txt: Add various missing
functions.
|
|
|
|
|
|
|
|
| |
Wed Oct 25 15:39:49 2000 Tim Janik <timj@gtk.org>
* *.c: adapted g_Type_register_*() calls. GLib wants an additional
flag field to specify tape flags per node. added 0s all over the place,
making the assumption that no pango types are abstract ones.
|