| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* examples/pangox.aliases: Add clealyu fonts
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Jul 6 15:24:38 2000 Owen Taylor <otaylor@redhat.com>
* Released 0.12
* configure.in: Use AM_PATH_GLIB_2_0()
* pango-config.in: Use @FRIBIDI_LIBS@, not -lfribidi
* pango-config.in: Fix accidental inclusion
-I lib/glib/include/
|
|
|
|
|
|
|
| |
Mon Jul 10 10:42:42 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-utils.c (pango_split_file_list): Fix
bug in home directory substitution.
|
|
|
|
|
|
|
|
| |
2000-07-06 Havoc Pennington <hp@redhat.com>
* pango/break.c (pango_get_log_attrs): Implement this function, to
get logical attributes without a PangoAnalysis.
(pango_break): Fix bug in word stop location
|
|
|
|
|
|
|
|
|
| |
Thu Jul 6 15:24:38 2000 Owen Taylor <otaylor@redhat.com>
* Released 0.12
* gdk/Makefile.am: Fix missing \ which was causing
srcdir != builddir builds to fail.
|
|
|
|
|
|
| |
Thu Jul 6 15:16:28 2000 Owen Taylor <otaylor@redhat.com>
* docs/pango-sections.txt docs/tmpl/*: Update
|
|
|
|
|
|
|
| |
2000-07-03 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (pango_layout_index_to_pos): Handle the
case where the byte offset is outside the layout.
|
|
|
|
|
|
|
| |
Sun Jul 2 18:06:01 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (get_tab_pos): Fix up set_font_description()
for tab spaces.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Jul 2 17:59:56 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.[ch] (pango_attr_list_insert_before): New
function that inserts before other attributes with matching
start index.
* pango/pango-layout.[ch] (pango_layout_set_font_description): Add
the ability to set a default font description on the layout, overriding
the font description from the context.
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Jul 2 17:19:11 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-types.h: Add a PANGO_PIXELS macro to convert
from pango units to device units and round.
* pango/pango-layout.[ch]: Add convenience functions
pango_layout_get_pixel_extents, pango_layout_get_size,
pango_layout_get_pixel_size pango_layout_line_get_pixel_extents.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Jun 30 16:46:31 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-utils.[ch] Makefile.am: A bunch of simple functions
for reading from files, manipulating strings as necessary for
config files. Also, a simple gnome-config/win.ini style
config file reader.
* pango/modules.c: Remove DOTFILES stuff. Instead, read names
of modules file from pangorc. (Which can be set from PANGO_RC_FILE).
Rewrite parsing code using pango-utils.c.
* pango/pangox-fontmap.c: Read list of files from
PangoX/AliasFiles key. Rewrite parsing code for alias files using
pango-utils.c.
* examples/pangox.aliases: Move to new name from pangox_aliases,
reformat using new parsing code.
* examples/pangorc (AliasFiles) examples/pango-viewer: Add a
pangorc file for in-place testing.
* pango/querymodules.c (main): Add comment to the top of
the output indicating that the file should not be hand-edited.
|
|
|
|
|
|
|
|
| |
Thu Jun 29 18:13:47 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-coverage.c: Fix various aspects of expanding
coverage tables beyond the first 256 blocks. (Based on
patch from ChiDeok Hwang.)
|
|
|
|
|
|
|
| |
Thu Jun 29 16:35:41 2000 Owen Taylor <otaylor@redhat.com>
* modules/arabic/{*.c,Makefile.am}: New version from Karl
Koehler merged with the changes for the GLib unicode functions.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Jun 21 12:11:56 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove tests for libunicode
* pango/utils.[ch]: Removed. The functions from here are now in
GLib.
* **.[ch]: Removed use of libunicode and utils.c in favor of
Unicode functions in GLib. Requires latest GLib from CVS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-14 Havoc Pennington <hp@redhat.com>
* pango/pango-attributes.c (pango_attr_list_copy): Function to
copy the attribute list.
2000-06-13 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.h: Convert PangoLayout to GObject
* pango/pango-context.h: Convert to
PangoContext to GObject
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-11 Elliot Lee <sopwith@redhat.com>
* pango/fonts.c (pango_font_description_compare): g_strcasecmp returns 0 when strings are equal - negate return value.
2000-06-09 Elliot Lee <sopwith@redhat.com>
* pango/pango-coverage.[ch]: Return 'coverage' from pango_coverage_ref.
2000-06-08 Elliot Lee <sopwith@redhat.com>
* pango/Makefile.am: Add DOTMODULESDIR define to make it easier to change location of .modules files.
* pango/modules.c: Make use of aforesaid define. Also scan the
DOTMODULESDIR directory for multiple config files instead of
just pango.modules.
Also fclose() opened files.
|
| |
|
|
|
|
| |
Include X_LIBS in libraries for 'pangox' target.
|
|
|
|
|
|
|
| |
2000-06-07 Havoc Pennington <hp@redhat.com>
* pango/pango-attributes.c (pango_attr_iterator_copy): New
function to copy a PangoAttrIterator.
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Jun 5 20:45:12 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox-fontmap.c (pango_x_shutdown_display): Add
a function to free cached information for a particular
display. (This is basically pango_x_fontmap_destroy())
* pango/pangox.c pango/pangox-private.h pango/pangox-fontmap.c:
Make a XFont always keep a pointer to (and ref) a fontmap.
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Jun 5 15:35:03 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox-fontcache.c (pango_x_font_cache_unload): Fix
problem with unloading fonts.
* pango/pangox-fontmap.c pango/pangox-private.h pangox/pangox.c:
Add a simple PangoXFont; get rid of the eternal caching of
all fonts.
|
| |
|
|
|
|
|
|
| |
Thu Jun 1 13:04:06 CEST 2000 Paolo Molaro <lupus@debian.org>
* configure.in: look for qt also in /usr/lib/qt2.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed May 31 10:46:53 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Release 0.11
* pango.spec.in: Add missing make command.
* modules/basic/Makefile.am (EXTRA_DIST): Fix up extra-dist.
* pango/Makefile.am (libpangox_la_SOURCES): Add pangox-private.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue May 30 14:30:24 2000 Owen Taylor <otaylor@redhat.com>
* pango/fonts.c (pango_font_description_from_string): Use g_strtod().
* pango/fonts.c (pango_font_description_to_string): Fix bug
where spaces where not properly inserted into font description
string.
* pango/fonts.c (pango_font_get_glyph_extents): Fix some
1000 <=> PANGO_SCALE bugs.
* pango/pangox-fontcache.c (pango_x_font_cache_load): Fix list
manipulation bug.
|
|
|
|
|
|
|
| |
Mon May 29 13:22:36 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c pango/pangox.h (pango_x_font_subfont_xlfd): New
function to retrieve the XLFD for a given subfont.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon May 29 11:14:34 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox-fontcache.c (pango_x_font_cache_load): Fix bug
in MRU list code.
* pango/pango-layout.c (pango_layout_check_lines): Fix infinite
loop in the case where the first item doesn't fit, but
whitespace follows that must go onto the same line.
* examples/viewer-qt.h: Minor changes so it compiles with
Qt-2.0. (Though the utf8 codec in Qt-2.0 seems to be slightly
buggy.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun May 28 16:24:43 2000 Owen Taylor <otaylor@redhat.com>
* examples/Makefile.am examples/viewer-qt.cc
examples/viewer-qt.h: Since we require GLib-1.3,
and thus can no longer build the examples against
GTK+-1.2, and since there is a nasty circular dependency
if we build examples against GTK+-1.3, rewrite
(optional) example program in Qt. (I wasn't going
to do it in Xaw or straight Xlib...)
* configure.in: Added checks for Qt.
* pango/pango-layout.h: Fix constness.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat May 27 22:05:53 2000 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (pangoinclude_HEADERS): Install
pango-fontmap.h.
* pango/pangox-fontcache.c pango/pangox.h: Add a simple
cache from XLFD => font struct.
* pango/pango-fontmap.c: Use this when loading and unloading
fonts.
|
|
|
|
|
|
|
|
|
|
|
| |
Sat May 27 21:06:13 2000 Owen Taylor <otaylor@redhat.com>
* modules/thai/thai.c modules/basic/basic:
s/pango_font_set_data/g_object_set_qdata/
* pango/*.c: s/pango_font_[un]ref/g_object_un[ref]
* pango/pango-font.h fonts.c: GObject'ify PangoFont.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat May 27 20:36:56 2000 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am configure.in: Add libgobject.
* pango/pango-fontmap.[ch]: GObject'ify PangoFontMap.
(Pango now requires GLib-1.3 to compile)
* pango/pangox-fontmap.c pango/pangox-private.h: Break
the fontmap code in libpangox out into a separate file.
Tue May 23 10:32:25 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_set_text): Allow -1 for
the length.
|
|
|
|
|
|
|
|
|
| |
2000-05-24 Matt Wilson <msw@redhat.com>
* modules/basic/basic.c (conv_8bit): use size_t for arguments to
iconv, not int. Fixes 64 bit platforms.
* modules/basic/basic.c (conv_euc): likewise
|
|
|
|
|
|
| |
Mon May 22 18:19:32 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (process_item): Fix <, <= confusion.
|
|
|
|
|
|
| |
Thu May 18 17:30:00 2000 Robert Brady <rwb197@zepler.org>
* fonts/devnag18.bdf: Fix advance widths of some glyphs.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue May 9 03:22:11 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_check_lines): Fix
memory leak by freeing correct list.
* pango/pango-context.c (pango_context_get_font_description):
Change to return a pointer to the context's font description
instead of a copy. Not quite 100% kosher but a lot
more efficient than the previous. (Should we just refcount
font descriptions and get it over with?)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue May 9 03:22:11 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_check_lines): Fix
memory leak by freeing correct list.
* pango/pango-context.c (pango_context_get_font_description):
Change to return a pointer to the context's font description
instead of a copy. Not quite 100% kosher but a lot
more efficient than the previous. (Should we just refcount
font descriptions and get it over with?)
|
|
|
|
|
|
|
| |
Mon May 8 16:39:48 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (free_run): Call pango_item_free
to free items properly including attributes.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon May 8 16:19:22 2000 Owen Taylor <otaylor@redhat.com>
* modules/thai/* modules/Makefile.am configure.in:
Add a simple Thai shaper. (Reasonably complete but
intended mostly for an example for the shape docs
right now.)
* pango/pangox.h (PANGO_X_GLYPH_INDEX): Protect
arguments to macros.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun May 7 00:00:00 2000 Owen Taylor <otaylor@redhat.com>
* modules/basic/basic.c (basic_engine_shape): When
handling overstrikes, try to guess a bit better
how overstrike glyphs are positioned in the font.
(Now works with more of glyphs from clearlyu, though
not the Hebrew accents in that font)
* examples/HELLO.utf8: Insert tab characters to
keep the columns in the right order for either
global direction. Insert left-to-right marks in
a few places to keep leading and trailing punctuation
in the right place.
* modules/basic/basic.c (basic_engine_shape): Don't
show RLM and LRM
* pango/glyphstring.c (pango_glyph_string_extents): Use
the logical width set in the glyph string rather than
that from the font's metrics.
* pango/pangox.c (pango_x_render): Treat glyph index
0 as special - representing invisible, 0 size
character. We need this sometimes, and it is
easier and faster to have this special case
than to shape a space.
* pango/pango-context.c (pango_itemize): Put
tabs into separate items. (Sort of lame hack,
we do this to make line breaking with tab
handling simpler)
* examples/viewer.c (checkbutton_toggled): Notify
all the layouts that the context has changed so
the RTL base dir change actually takes effect.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri May 5 18:56:45 2000 Owen Taylor <otaylor@redhat.com>
* pango/break.c (pango_break): Add ZWS to hacky
break algorithm.
* modules/basic/basic.c (basic_engine_shape): Special
case zero-width-space as a temporary hack. (What's the
right solution?)
* modules/basic/tables-big.i: Added support for TIS-620
encoding.
* configure.in pango/modules.[ch] pango/Makefile.am
modules/**: First stab at support for linking modules
directly into Pango. Add a --with-included-modules=
flag that causes the specified modules to be built
as convenience libraries and linked directly into
libpangox.
Tue May 2 22:59:52 2000 Owen Taylor <otaylor@redhat.com>
* modules/basic/basic.c: Get rid of link list of masks
in cache structure in favor of an array. (This is
easy to do now since we already have linear indices
for the masks from the new table format.)
* pango/modules.c pango/pango-context.c pango/pangox.c:
Modify _pango_find_map() to take quarks for the
engine type and render type instead of strings.
Get rid of the map hash table in favor of a GList
with the most recently used map at the beginning.
* pango/modules.[ch] pango/pango-context.c pango/pangox.c:
Add some utility functions for getting the engine
for a particular character in a map. Using modules.c
knowledge of map structure, this allows us to save
a bunch of useless strcmps.
* pango/pango-context.c (add_engines): Remove unused
lookup of shape mask.
* modules/basic/tables-{small,big}.i modules/basic/basic.c
tools/compress-table.pl: Reencode mask table to avoid binary
searches and save a bit of space.
* modules/basic/basic.c (find_converter): Get rid
of gratuitous use of hash tables for looking up
iconv converters.
* modules/basic/tables-{small,big}.i modules/basic/basic.c:
Use conv_ucs4 instead of conv_8bit for latin-1.
* pango/pango-layout.c: Avoid calling pango_glyph_string_extents() -
just add up the widths from shaping.
|
|
|
|
| |
-Yosh
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: add support for fribidi-config (needs fribidi v0.1.10
or higher). Also actually use the FOO_CONFIG variable filled by
AC_PATH_PROG for --cflags and --libs.
* examples/Makefile.am
* pango/Makefile.am: use $(FRIBIDI_LIBS)
-Yosh
|
|
|
|
|
|
| |
Mon May 1 11:58:55 2000 Owen Taylor <otaylor@redhat.com>
* modules/arabic/*: Misc bug fixes from Karl Koehler.
|
|
|
|
|
|
|
|
| |
Wed Apr 26 19:55:40 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Add checks looking for iconv in libiconv.
(Thanks to Ross Campbell for helping me test this
out.)
|
|
|
|
|
|
|
|
|
| |
Mon Apr 24 22:51:06 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Released 0.10
* modules/arabic/*: Update from Karl Koehler, including
support for LangBox fonts
|
|
|
|
|
|
| |
Mon Apr 24 20:28:31 2000 Owen Taylor <otaylor@redhat.com>
* docs/**: Updates for recent API changes.
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Apr 24 18:09:29 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_line_get_empty_extents): Come
up with a reasonable guess for metrics for empty lines based
on the font metrics.
* modules/devanagari/devanagari.c (devanagari_engine_shape): A couple
of trivial fixups to make things compile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Apr 23 23:33:10 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_move_cursor_visually): New
function for visual (left-right, not forward-back) cursor
navigation within a layout.
Thu Apr 20 22:16:39 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_line_x_to_index): As a hack,
for x-positions at the edge of a line, fudge the position to be
one before the line end (which is, for programs that don't properly
handle the trailing flag), instead of at the end of the line.
This works fine for whitespace-broken languages, but won't work
right for languages that don't use whitespace to break lines.
(GtkText* needs to keep track of whether a cursor is trailing
or not)
* pango/pango-layout.c (pango_layout_check_lines): Prohibit breaking
a line at a non-whitespace -> space transition. (So that we
never put wrap single character of whitespace at the beginning of
a line)
* pango/break.c (pango_break): Always allow a break before
the first char.
* pango/pango-layout.c (pango_layout_line_x_to_index): Remove the return
value from the function, make it return the appropriate index
depending on the base direction of the layoutt.
|
|
|
|
|
|
|
| |
Fri Apr 7 03:08:09 2000 Owen Taylor <otaylor@redhat.com>
* configure.in (UNICODE_LIBS): Add back in flockfile
check which was accidentally removed.
|
|
|
|
|
|
|
|
|
|
| |
2000-04-21 Robert Brady <rwb197@zepler.org>
* modules/devanagari/dev-ligatures.h: Add some more ligature
mappings.
* modules/devanagari.c: New version, now syllable-based, with
proper RA handling.
|