summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Add functions to convert font descriptions to and from human-readableOwen Taylor2000-02-293-7/+265
| | | | | | | | | | | Mon Feb 28 19:46:35 2000 Owen Taylor <otaylor@redhat.com> * libpango/fonts.c libpango/pango-fonts.h: Add functions to convert font descriptions to and from human-readable strings. * examples/viewer.c: Use functions from libpango instead of rolling our own font-description conversion functions.
* Add size to the font description structure instead of continually passingOwen Taylor2000-02-257-85/+50
| | | | | | | | | | | | Fri Feb 25 15:04:21 2000 Owen Taylor <otaylor@redhat.com> * libpango/{fonts.c,pango-font.h,pango-context.[ch],pangox.c, pango-attributes.c,examples/viewer.c: Add size to the font description structure instead of continually passing it around as an extra argument. * libpango/pangox.c: Take screen resolution into account when choosing fonts, instead of assumming point == pixel.
* Fix problem where charsets specified in alias files where being ignoredOwen Taylor2000-02-191-3/+12
| | | | | | | | Sat Feb 19 18:51:35 2000 Owen Taylor <otaylor@redhat.com> * libpango/pangox.c (pango_x_make_matching_xlfd): Fix problem where charsets specified in alias files where being ignored and treated as wildcards.
* Release 0.7Owen Taylor2000-02-171-2/+2
| | | | | | | | | | | | | | Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Release 0.7 * examples/Makefile.am (aliasdir): Install example pangox_aliases file. * examples/Makefile.am (bin_PROGRAMS): Install pango-viewer. * docs/tmpl/*: Updated templates.
* Make refcounted.Owen Taylor2000-02-1613-261/+569
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com> * libpango/pango-coverage.c (pango_coverage_get): Make refcounted. * libpango/modules.c (struct _PangoEnginePair): Since we don't currently unload engines, cache loaded engines. (Not really quite satisfactory, but should work OK) * libpango/pango-context.c (pango_context_get_font_description): Added a global font description. * libpango/modules.c (_pango_find_map): Allow NULL language tags. * libpango/pango-context.c (pango_itemize) examples/viewer.c: Switch itemize over to take a PangoAttrList. * examples/viewer.c: Conform to changes in itemization interface * libpango/font.[ch]: Add a compare function for FontDescription * libpango/pango-attributes.[ch]: Change the iteration iterface to be more convenient. * libpango/pango-context.[ch]: Add the ability to set a default font. * libpango/pango-context.[ch]: Take the font for itemization from the attributes on the text. * libpango/pangox.c: Cache currently loaded fonts, and cache coverages.
* Add documentation for attributes.Owen Taylor2000-02-153-179/+645
| | | | | | | | | Tue Feb 15 02:35:56 2000 Owen Taylor <otaylor@redhat.com> * docs/**: Add documentation for attributes. * Makefile.am libpango/pango-attributes.[ch]: Finish initial implementation of attributes APIs.
* Start of attribute lists.Owen Taylor2000-02-152-0/+574
| | | | | | Mon Feb 14 22:04:38 2000 Owen Taylor <otaylor@redhat.com> * libpango/pango-attributes.[ch]: Start of attribute lists.
* make dist fixups.Owen Taylor2000-02-112-2/+4
| | | | | | | | | | | | | | Fri Feb 11 16:04:50 2000 Owen Taylor <otaylor@redhat.com> * libpango/Makefile.am: make dist fixups. * Makefile.am pango.spec.in: Add a spec file * examples/HELLO.utf8: Change Maltese to a different phrase to include some unique Maltese characters. * libpango/Makefile.am modules/Makefile.am libpango/modules.c: Move pango.modules file to /var
* Added recent API changes. Doc comment fixesOwen Taylor2000-02-111-2/+5
| | | | | | | | | | Thu Feb 10 23:45:49 2000 Owen Taylor <otaylor@redhat.com> * docs/**: Added recent API changes. * libpango/pango-context.c: Doc comment fixes * configure.in: Add in directories from unicode-config when running AC_CHECK_LIB on libunicode.
* Up version to match 0.6 release that was made yesterday.Owen Taylor2000-02-112-37/+39
| | | | | | | | | | | | | | | | | | | Thu Feb 10 23:45:27 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Up version to match 0.6 release that was made yesterday. * examples/viewer.c (main): Look for fixed if sans isn't found as an initial font. * modules/Makefile.am: Add an install rule to run pango-querymodules. * modules/*/Makefile.am (module_LTLIBRARIES): Set up appropriate install rules. * libpango/Makefile.am: Break the X code out into a separate library.
* Add style selector, rewrite family selector to use list_families().Owen Taylor2000-02-115-40/+275
| | | | | | | | | | | | Thu Feb 10 19:57:27 2000 Owen Taylor <otaylor@redhat.com> * examples/viewer.c: Add style selector, rewrite family selector to use list_families(). * libpango/pango-context.[ch] libpango/pango-font.h libpango/pangox.c libpango/fonts.c: Add calls to list families, modify list_fonts() call to take an optional "family" parameter for the purpose of listing the fonts within a family.
* updates.Owen Taylor2000-02-091-1/+1
| | | | | | | | | Wed Feb 9 14:04:35 2000 Owen Taylor <otaylor@redhat.com> * TODO: updates. * docs/*: Added some docs on font handling, both general and for X.
* Moved the primary size and charset matching inside of Pango instead of onOwen Taylor2000-02-081-84/+133
| | | | | | | | | | | Tue Feb 8 15:05:17 2000 Owen Taylor <otaylor@redhat.com> * libpango/pangox.c: Moved the primary size and charset matching inside of Pango instead of on the font server. This allows us to do better matching, and only scale scaleable fonts, and not scale bitmaps. Also, match size and charset simultaneously, so that we can handle the cases where all sizes are not available in all charsets better.
* Start at reworking code to do size and charset lookups simultaneously.Owen Taylor2000-02-081-40/+185
| | | | | | | | Mon Feb 7 20:27:35 2000 Owen Taylor <otaylor@redhat.com> * libpango/pangox.c (pango_x_names_for_size): Start at reworking code to do size and charset lookups simultaneously. twill compile once I get home.
* Switch the option menu for a combo box.Owen Taylor2000-02-072-45/+557
| | | | | | | | | | | | | | Mon Feb 7 16:49:32 2000 Owen Taylor <otaylor@redhat.com> * examples/viewer.c (make_families_menu): Switch the option menu for a combo box. * examples/pangox_aliases: Add a demo alias file. * libpango/pangox.c: Add a font-alias mechanism allowing. * examples/viewer.c (make_font_selector): Added a spin-button for size.
* Add a call to get a glyph for unknown an unknown char.Owen Taylor2000-02-029-62/+331
| | | | | | | | | | | | | | | Wed Feb 2 20:49:21 2000 Owen Taylor <otaylor@redhat.com> * libpango/pangox.c (pango_x_get_unknown_glyph): Add a call to get a glyph for unknown an unknown char. * modules/basic/basic.c: use pango_x_get_unknown_glyph. * libpango/utils.[ch] (_pango_guchar4_to_utf8): Added util function for coverting wide chars to utf8. * libpango/pangox.c (pango_x_font_get_coverage pango_x_font_get_shaper): Initial implementations.
* Conditionally define G_N_ELEMENTS() when using glib-1.3.Owen Taylor2000-02-015-20/+25
| | | | | | | | | | | | | | | | | | Wed Feb 2 11:12:12 2000 Owen Taylor <otaylor@redhat.com> * libpango/pango-types.h: Conditionally define G_N_ELEMENTS() when using glib-1.3. * modules/basic/basic.c modules/hangul/hangul.c modules/tamil/tamil.c: Replace MEMBERS() with G_N_ELEMENTS(). * libpango/pango-engine.h: Added a get_coverage() function to the PangoEngineShape vtable. * modules/basic/basic.c modules/hangul/hangul.c modules/tamil/tamil.c: Added get_coverage() functions. The basic.c one is incredibly inefficient (but caching may make that matter that much). The Hangul one needs checking.
* The great header file reorganization. Split up roughtly by objects.Owen Taylor2000-02-0115-271/+2069
| | | | | | | | | | | | | | | | | | | | | | Wed Feb 2 00:07:13 2000 Owen Taylor <otaylor@redhat.com> * libpango/pango-*.h: The great header file reorganization. Split up roughtly by objects. * libpango/pango-font.h libpango/fonts.h: Add generic font-loading and listing interfaces. * libpango/pangox.c: Implement font-listing/loading interfaces for X. * libpango/pango-context.[ch]: Flesh out context structure. Add appropriate accesors, font loading-methods, etc. * libpango/pango-coverage.[ch]: Coverage map objects. * examples/viewer.c: First stab at adding font-selection. Majorly deficient for the moment until we add font lists and fallbacks based on coverage maps.
* Updates to match recent API changes.Owen Taylor2000-01-261-0/+3
| | | | | | Thu Jan 27 16:50:51 2000 Owen Taylor <otaylor@redhat.com> * docs/**: Updates to match recent API changes.
* Updated to use new X font mechanism.Owen Taylor2000-01-182-17/+40
| | | | | | | | | Mon Jan 17 22:03:24 2000 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul.c modules/tamil/tamil.c: Updated to use new X font mechanism. * libpango/pangox.[ch]: Misc bugfixes, no longer segfaults.
* back away from the strict charset model to having subfonts arbitrarilyOwen Taylor2000-01-172-238/+228
| | | | | | | | | | | | | Mon Jan 17 18:29:39 2000 Owen Taylor <otaylor@redhat.com> * libpango/pangox.[ch] modules/basic/basic.c: back away from the strict charset model to having subfonts arbitrarily indexed. The charset-index model didn't allow proper fallbacks. Add a function pango_x_list_subfonts() function that lists subfonts in the proper order for a given list of charsets. (segfaults currently, will fix pronto)
* Switch GlyphStrings to have a single array of PangoGlyphInfo instead ofOwen Taylor2000-01-175-73/+73
| | | | | | | | | | | Sat Jan 15 03:17:35 2000 Owen Taylor <otaylor@redhat.com> * pango/glyphstring.c pango/mapping.c pango/pangox.c modules/basic.c examples/viewer.c: Switch GlyphStrings to have a single array of PangoGlyphInfo instead of multiple arrays. Rename PangoGlyphIndex to PangoGlyph.
* Eliminate PangoCFont; For X, encode charset into upper 16 bits of 32 bitOwen Taylor2000-01-155-573/+349
| | | | | | | | | | | | | | | | | | | | | Sat Jan 15 01:06:45 2000 Owen Taylor <otaylor@redhat.com> * libpango/pangox.c libpango/pangox.h libpango/fonts.c libpango/glyphstring.c modules/basic/basic.c: Eliminate PangoCFont; For X, encode charset into upper 16 bits of 32 bit glyph IDs. Revise X core <=> module interfaces to support this change. Remove support for X_XLFD_FONT_RANGES, which has been disavowed by its proponents, in favor of checking metrics to figure out if the relevant characters are there. Rework operation of basic module to be faster and simple. * modules/Makefile.am: temporarily comment out Tamil and Hangul modules until I finish mucking with the X font interfaces.
* reindented. updatedOwen Taylor2000-01-131-1/+3
| | | | | | | Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com> * examples/viewer.c: reindented. * README: updated
* Initial revisionOwen Taylor2000-01-1318-0/+3006