summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Roozbeh Pournader to update for shaping class changes inOwen Taylor2001-12-221-3/+3
| | | | | | | | Sat Dec 22 11:49:38 2001 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-ot.c: Patch from Roozbeh Pournader to update for shaping class changes in Unicode 3.1.1.
* Syllable array needs to start at length 2, not 1. Also, some cleanups.Owen Taylor2001-12-185-10/+10
| | | | | | | | Tue Dec 18 12:33:03 2001 Owen Taylor <otaylor@redhat.com> * modules/indic/*-x.c (pango_engine_shape): Syllable array needs to start at length 2, not 1. Also, some cleanups. (Memory overrun reported by Joshua Pritikin #66850)
* use (PangoLanguage *) instead of (const gchar *) to please the compiler.Sven Neumann2001-12-141-2/+2
| | | | | | | 2001-12-14 Sven Neumann <sven@gimp.org> * modules/hebrew/hebrew-x.c (hebrew_engine_get_coverage): use (PangoLanguage *) instead of (const gchar *) to please the compiler.
* Resuming aborted commitSebastian Wilhelmi2001-12-132-2/+2
| | | | Resuming aborted commit
* Compile with -DG_DISABLE_DEPRECATED. See #52790.Sebastian Wilhelmi2001-12-135-4/+5
| | | | | | | | | | | | 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.
* change "EUC-CN" to "GB2312" which is the canonical name for gb2312.1980Hidetoshi Tajima2001-12-101-1/+1
| | | | | | * modules/basic/tables-big.i: change "EUC-CN" to "GB2312" which is the canonical name for gb2312.1980 charset used in libcharset. (#66174)
* handle codeset1(right half of jisx0201.1976) and codeset3(jisx0212.1990)Hidetoshi Tajima2001-12-062-2275/+2316
| | | | | | | | | * 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.
* Instead of including all-unicode.txt in the distribution, include a smallOwen Taylor2001-11-262-576/+767
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Documentation.Matthias Clasen2001-11-261-1/+1
| | | | | | | * pango/pangoft2.c (pango_ft2_font_get_coverage): Documentation. * modules/basic/basic-ft2.c (basic_engine_get_coverage): Use pango_font_get_coverage().
* Check for LEX and YACC. This will be made optional later, with the buildAlexander Larsson2001-11-181-27/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make a number of functions static to avoid symbol clashes when bothOwen Taylor2001-10-312-6/+10
| | | | | | | | | Wed Oct 31 11:00:55 2001 Owen Taylor <otaylor@redhat.com> * modules/tamil/tamil-{xft,x}.c: Make a number of functions static to avoid symbol clashes when both tamil-x.c and tamil-xft.c are linked statically into the same library. (#63436, Raymond Wan)
* New file, used to build distribution package for Windows.Tor Lillqvist2001-10-281-2/+8
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Tor Lillqvist <tml@iki.fi> * pango-zip.sh.in: New file, used to build distribution package for Windows. * Makefile.am (EXTRA_DIST): Add pango-zip.sh. * configure.in: Check for lib.exe, set MS_LIB_AVAILABLE. Generate pango-zip.sh. * README.win32: Mention the ways to build Pango on Windows. * modules/Makefile.am * examples/Makefile.am: Se SOSUFFIX to so on Unix, dll on Windows. * pango/Makefile.am: Add rules to create MSVC import library if MS_LIB_AVAILABLE. Add rules to install and uninstall mingw and MSVC import libraries. * tests/Makefile.am: Link with libpangox.la only on Unix.
* require one more log attr in the buffer passed in, to account for the endHavoc Pennington2001-10-031-7/+7
| | | | | | | | | | | | | | 2001-10-03 Havoc Pennington <hp@redhat.com> * pango/break.c (pango_break) (pango_default_break) (pango_get_log_attrs): require one more log attr in the buffer passed in, to account for the end position (pango_default_break): allow length of -1 * pango/pango-engine.h (struct _PangoEngineLang): change script_break virtual function to match pango_break * pango/pango-layout.c (get_items_log_attrs): update pango_break usage
* Add the Win32 GDI Pango backend to autoconfiguration:Tor Lillqvist2001-10-031-5/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-03 Tor Lillqvist <tml@iki.fi> Add the Win32 GDI Pango backend to autoconfiguration: * configure.in: Call AC_LIBTOOL_WIN32_DLL. Check for native Win32 or Cygwin, set automake conditional PLATFORM_WIN32. Check for native Win32, set OS_WIN32. Refactor the Xrender+Xft+Xft+FreeType.h checks not to use AC_CHECK_LIBs inside eachother, autoconf 2.52e on Cygwin generated bad shell code for that. Check for gdi32 library, set automake conditional HAVE_WIN32. Add the basic-win32 module, add INCLUDED_WIN32_MODULES and INCLUDE_BASIC_WIN32. Write pango/module-defs-win32.c. Generate pangowin32*.pc. * pangowin32.pc.in * pangowin32-uninstalled.pc.in: New files. * Makefile.am: Add pangowin32*.pc.in. * .cvsignore: Add pangowin32*.pc. * modules/basic/Makefile.am: Add the basic-win32 backend. Use -no-undefined on PLATFORM_WIN32. * pango/Makefile.am: Add the Win32 backend. Use -no-undefined on PLATFORM_WIN32. Use the .def files on OS_WIN32. Link libpangoft2 with GLIB_LIBS. * pango/pango-utils.c: (DllMain): New function, on G_OS_WIN32. Used to get the actual DLL name, which is tucked away. (pango_get_sysconf_subdirectory, pango_get_lib_subdirectory): (Win32): Append VERSION to the registry key passed to g_win32_get_package_installation_subdirectory(). Use the real DLL name from above instead of assuming the DLL has a certain name. Other Win32 backend fixes: * pango/pangowin32-fontmap.c: (free_coverages_foreach): Remove, unused. * pango/pangowin32.c: Remove unused variables. * pango/pangowin32.def: Add pango_win32_font_get_glyph_index. * pango/pangowin32.h: Remove pango_win32_font_get_coverage, which is static.
* Improved Hebrew vowel (nikud) placement, implementing some more magic heuristicsChookij Vanatham2001-09-261-12/+80
| | | | by Dov (dov@imagic.weizmann.ac.il).
* updated externalsHans Breuer2001-09-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-21 Hans Breuer <hans@breuer.org> * pango/pango.def : updated externals * pango/makefile.msc : build ft2 backend too. * pango/pangowin32-fontmap.c - Convert PangoWin32FamilyEntry into PangoWin32Family deriving from PangoFontFamily. - Convert PangoWin32FontEntry into PangoWin32Face deriving from PangoFontFace. - Change the list_families() method of the PangoWin32FontMap to list PangoFontFamily * rather than names. * pango/pangowin32.c : reflect PangoFontDescription api change * pango/pangowin32.h : don't include pango.h but only the required headers * modules/basic/basic-win32.c : #include "pango-engine.h" * pango/testfonts.c : reflect recent pango api changes
* Up to 0.19.Owen Taylor2001-09-1810-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Sep 18 15:47:08 2001 Owen Taylor <otaylor@redhat.com> * configure.in (PANGO_MINOR_VERSION): Up to 0.19. * pango/pango-font.h pango/pango-fontmap.[ch] pango/fonts.c pango/pangoxft-fontmap.c pango/pangoft-fontmap.c pango/pango-context.[ch] pango/pangox-fontmap.c: Add new PangoFontFace and PangoFontFamily object types, and change the font listing API to list faces and families, instead of face names and font descriptions. * pango/pango-font.h pango/fonts.c: Make PangoFontDescription an opaque heap-allocated structure, add accessors and convenience functions. * pango/pango-font.h pango/pango-private.h: Make PangoFontMetrics heap allocated, protect the structure definition with #ifdef PANGO_ENABLE_BACKEND, and add getters for the fields. * pango/pango-attributes.[ch] ( pango_attr_iterator_get_font): instead of providing a base font description and one to fill in, provide a single font description to modify based on the attributes. * pango/pango-attributes.[ch]: Fix PangoAttrFontDesc to have a PangoFontDescription by reference, not by value. * pango/pango-utils.[ch]: make pango_parse_style() and friends take pointers to individual enumerations instead of to a PangoFontDescription structure. * pango/*.c: Fix for the PangoFontDescription and PangoFontMetrics changes. * pango/pango-{break,engine,indic,ot,xft}.h pango/Makefile.am pango/opentype/Makefile.am: Protect portions with PANGO_ENABLE_ENGINE to shrink the public API. * modules/*/Makefile.am: -DPANGO_ENABLE_ENGINE. * pango/{pangox.h,pangox-private.h} modules/basic/basic-x.c: Move pango_x_font_get_unknown_glyph() into public header since it is used from modules. * pango/pango-{context,font,fontmap,modules.utils}.h pango/Makefile.am: Protect portions with PANGO_ENABLE_BACKEND to shrink the public API. * pango/*.h: Use G_BEGIN/END_DECLS * examples/viewer-qt.[cc,h]: Fix for changes to font listing API, PangoFontDescription. * pango/pango-indic.h modules/indic/*: Since we install this header fix it up to Pango conventions, namespece ZERO_WIDTH_JOINER, ZERO_WIDTH_NON_JOINER. * docs/pango-sections.txt: Updated.
* add $(pangoxftlibs) so we get proper dependencies noted in the module.Matt Wilson2001-09-181-1/+1
| | | | | | | 2001-09-18 Matt Wilson <msw@redhat.com> * modules/basic/Makefile.am (basic_xft_libadd): add $(pangoxftlibs) so we get proper dependencies noted in the module.
* Fixed MAITHAIKHU for UpperTailed Consonances, ie, PO_PLA (by K.Theppitak).Chookij Vanatham2001-08-161-2/+2
|
* Large rewrite of the win32 backend to use real glyph indexes instead ofAlexander Larsson2001-08-091-65/+6
| | | | | | | | | | | | | | | | | | | 2001-08-09 Alexander Larsson <alexl@redhat.com> * pango/pangowin32.h: * pango/pangowin32-private.h: * pango/pangowin32.c: * pango/pangowin32-fontmap.c: * modules/basic/basic-win32.c: * pango/pangowin32.def: Large rewrite of the win32 backend to use real glyph indexes instead of unicode codes. Also drops the subfont thing, thereby simplifying the code immensely. This looses some functionality, but i will add that back soon using global (non backend-specific) aliases. This is the first cut, and is not perfect. It still has some issues and imperfections, but it so clearly better than the current imlementation that I'm checking it in anyway.
* Remove unused prototype.Darin Adler2001-07-271-1/+0
| | | | * modules/indic/gujarati-x.c: Remove unused prototype.
* Updated the change to handle iso10646 for Thai non-spacing vowels/tonemarksChookij Vanatham2001-07-181-21/+14
| | | | as similar as others (Thai MS/MAC) by K.Theppitak.
* Updated the improvements of Hebrew points positioningChookij Vanatham2001-07-171-27/+189
| | | | from Dov Grobgeld <dov@imagic.weizmann.ac.il>
* Remove stray semicolon.Darin Adler2001-07-127-20/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modules/arabic/arabic-x.c: (arabic_engine_shape): Remove stray semicolon. * modules/arabic/arconv.h: * modules/arabic/arconv.c: (shape), (doublelig), (arabic_reshape): Use long* instead of int* for parameter to match what's passed in. * modules/indic/bengali-x.c: Add missing <string.h> include. (pango_indic_make_ligs): Use local variable that was added but not ever used. (pango_indic_engine_shape): Remove unused locals. * modules/indic/devanagari-x.c: Add missing <string.h> include. (pango_indic_engine_shape): Remove unused local. * modules/indic/gujarati-x.c: Add missing <string.h> include. (pango_indic_engine_shape): Remove unused local * modules/tamil/tamil-x.c: (tamil_engine_shape): Initialize a variable to quiet the compiler's unused warning. * pango/.cvsignore: Ignore more generated files. * pango/opentype/ftxgpos.c: (Get_Anchor): Add code to set up the ap variable. The old code would just use the uninitialized value. * pango/opentype/ftxopen.c: (Load_Coverage): Remove unused local. * pango/opentype/pango-ot-ruleset.c: (pango_ot_ruleset_shape): Remove unused local. * pango/pango-attributes.c: (pango_attr_list_get_type), (pango_color_get_type): Add needed function type casts (just warnings under gcc, but could be errors in other compilers). * pango/pangoxft-font.c: (pango_xft_font_get_metrics), (pango_xft_font_get_coverage), (pango_xft_get_shaper_map), (pango_xft_font_find_shaper): Switch from lang char* to PangoLanguage*. The code was still compiling, but would not have worked.
* pango/pango-markup.c: modules/arabic/arabic-xft.c (arabic_engine_shape):Owen Taylor2001-06-251-1/+1
| | | | | | | | | | | | | | | | | | Sat Jun 23 10:01:20 2001 Owen Taylor <otaylor@redhat.com> * pango/pangowin32-fontmap.c (pango_win32_font_entry_get_coverage): * pango/pangoft2-fontmap.c (pango_ft2_font_entry_get_coverage): pango/pango-markup.c: modules/arabic/arabic-xft.c (arabic_engine_shape): modules/arabic/arabic-x.c (arabic_engine_shape): pango/pango-context.c (pango_itemize): pango/pangox.c (get_font_metrics_from_string): pango/pangoft2.c (get_font_metrics_from_string): Adapt to 64-bit changes in glib. * pango/Makefile.am: Modify generation rules to use glib-mkenums (ugh, loong command lines), and to reduce rebuilding by using stamp files.
* Add a new PangoLanguage type to represent language tags; these canOwen Taylor2001-06-1419-33/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Jun 9 17:36:09 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-types.h pango/pango-utils.c: Add a new PangoLanguage type to represent language tags; these can efficiently be compared and don't need to be copied. Also add pango_language_matches() to match a language tag against a pattern. * pango/pango-item.[ch] pango/pango-layout.c: Move extra_attrs from PangoItem to PangoAnalysis. Add a language tag field to PangoAnalysis. (#55894) * pango/pango-attributes.[ch] (pango_attr_iterator_get_font): Return the language tag as well. * pango/pango-attributes.[ch]: Rename PangoAttrLang to PangoAttrLanguage, and make it hold a PangoLanguage. * pango/pango-context.[ch]: Rename pango_context_{get,set}_lang() to pango_context_{get,set}_language(). * **.[ch]: Adapt to PangoLanguage and s/lang/language/ changes. * modules/basic/basic-x.c modules/basic/tables-big.i: Add support for ordering character sets differently for different language tags. * pango/itemize.c: Remove old, unused file. * pango/pango-context.c (pango_itemize): Reduce number of mallocs by allocating one array of PangoAnalysis instead of many arrays.
* Actually advance through list. (Problem noticed by Erwann Chenede)Owen Taylor2001-05-311-0/+11
| | | | | | | | | | | | | Thu May 31 12:31:20 2001 Owen Taylor <otaylor@redhat.com> * pango/pangox-fontmap.c (pango_x_font_map_for_display): Actually advance through list. (Problem noticed by Erwann Chenede) * modules/Makefile.am (install-data-local): Move rule for generation of /etc/pango/pango.modules to here, since we are now built _after_ the library. (Problem noticed by KUSANO Takayuki)
* Require libtool 1.4 when build out of CVS.Owen Taylor2001-05-169-39/+116
| | | | | | | | | | | | | | | | | | | | | | | | Tue May 1 16:03:48 2001 Owen Taylor <otaylor@redhat.com> * autogen.sh (libtool_version): Require libtool 1.4 when build out of CVS. * **/Makefile.am: Add inter-library dependencies, especially for the modules. Many cleanups to the module makefiles. * configure.in modules/indic/Makefile.am: Remove INCLUDE_ANY_INDIC conditional which doesn't seem to have any point and was definitely suspect as done. * modules/tamil/tamil-xft.c (MODULE_ENTRY): Fix prefix to be _pango_tamil instead of _pango_basic. * Makefile.am: Build modules/ after pango/ so we can make the modules depend on libpango/libpangox. * examples/Makefile.am: Remove spurious rule to rebuild makefile.mingw.
* Added 0x20 glyph for spacing vowel/tonemark support for tis620-0.Chookij Vanatham2001-05-071-7/+24
|
* Fix numeric format in warning.Owen Taylor2001-05-021-1/+1
| | | | | | | | | | Tue May 1 23:30:53 2001 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-x.c (hangul_engine_shape): Fix numeric format in warning. * pango/pangox.c (get_font_metrics_from_string): Fix assorted brokenness.
* Move some fontmap stuff to pangox-private.h to access fontmap->resolutionHavoc Pennington2001-04-272-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | 2001-04-27 Havoc Pennington <hp@redhat.com> * pango/pangox-fontmap.c: Move some fontmap stuff to pangox-private.h to access fontmap->resolution in pangox.c * pango/pangox.c (get_font_metrics_from_subfonts): multiply avg. width by PANGO_SCALE, and consider that avg width from X is in decipoints * modules/basic/basic-x.c: mark some chars unknown when shaping, with a flag PANGO_X_UNKNOWN_FLAG * pango/pangox.c (pango_x_font_get_metrics): use lookup_lang not lang when calling get_font_metrics_from_string (pango_x_render): render unknown chars * pango/pango-layout.c: (pango_layout_set_single_paragraph_mode): add mode where we don't break on para separators, instead we shape them and display glyphs (pango_layout_get_single_paragraph_mode): getter for above (pango_layout_check_lines): handle single paragraph mode
* cvsignore updatesOwen Taylor2001-04-241-0/+7
|
* Fixed the case of cons+Dagesh+Punct.Chookij Vanatham2001-04-201-12/+46
|
* Fixed crash when 2 chars in a cluster and 1st char isn't consonance.Chookij Vanatham2001-04-201-2/+2
|
* Added building Pango X Hebrew Engine.Chookij Vanatham2001-04-201-1/+2
|
* Pango X Hebrew Engine.Chookij Vanatham2001-04-202-0/+554
|
* Remove warning when using fallback shaping.Owen Taylor2001-04-161-0/+432
| | | | | | | Mon Apr 16 19:20:12 2001 Owen Taylor <otaylor@redhat.com> * modules/tamil/tamil-x.c: Remove warning when using fallback shaping.
* Remove warning when using fallback shaping.Owen Taylor2001-04-163-210/+372
| | | | | | | | | | | | | | | | | | | | | | Mon Apr 16 19:20:12 2001 Owen Taylor <otaylor@redhat.com> * modules/tamil/tamil-x.c: Remove warning when using fallback shaping. Mon Apr 16 19:14:00 2001 Owen Taylor <otaylor@redhat.com> [ Patches from Vikram Subramanian to update Tamil shapers ] * configure.in modules/tamil/tamil-xft.c modules/tamil/Makefile.am: Xft/TT based Tamil rendering engine. Uses glyphs in the private-use-area instead of proper OpenType tables. * examples/HELLO.utf8: Add Tamil line * examples/pangox.aliases: Add tamil fonts * modules/tamil/tadefs.h modules/tamil/tamil-x.c: Update to use PANGO_LIGATURE_HACK ligatures from BDF files instead of a fixed encoding.
* Makefile.am configure.in modules/*/Makefile.am make it compile without XSven Neumann2001-03-156-1/+22
| | | | | | | | | 2001-03-15 Sven Neumann <sven@gimp.org> * Makefile.am * configure.in * modules/*/Makefile.am * pango/Makefile.am: make it compile without X headers
* Don't leak PangoCoverage. Move name free closer to allocation.32001-01-231-1/+3
| | | | | | | | | | | | 2001-01-23 <alexl@redhat.com> * modules/basic/basic-ft2.c (basic_engine_get_coverage): Don't leak PangoCoverage. * pango/pangoft2-fontmap.c (pango_ft2_font_map_load_font): Move name free closer to allocation. (pango_ft2_font_map_read_alias_file): Don't leak faces. (pango_ft2_font_entry_get_coverage): Don't leak font as filename and cache_file_name.
* Adapt to new g_utf8_to_ucs4() prototype.Owen Taylor2001-01-072-2/+2
| | | | | | | | | | | | | Sat Jan 6 20:23:54 2001 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-x.c (arabic_engine_shape): Adapt to new g_utf8_to_ucs4() prototype. * modules/basic/basic-ft2.c: Include pango-engine.h * pango/pangoft2.h: Don't include pango.h, which would pull in pango-enums.h and thus break module building, just include neeeded pango-layout.h
* Adopt to new prototype for g_utf8_to_ucs4 (etc.).Owen Taylor2001-01-053-2/+363
| | | | | | | Fri Jan 5 16:12:37 2001 Owen Taylor <otaylor@redhat.com> * modules/arabic/{arabic-xft,arabic}.c pango/{pango-context.c,pangoft.c,pangox.c}: Adopt to new prototype for g_utf8_to_ucs4 (etc.).
* add X_CFLAGSHavoc Pennington2001-01-054-4/+4
| | | | | | | | | | | | 2001-01-04 Havoc Pennington <hp@redhat.com> * modules/indic/Makefile.am (INCLUDES): add X_CFLAGS * modules/hangul/Makefile.am (INCLUDES): add X_CFLAGS * modules/tamil/Makefile.am (INCLUDES): add X_CFLAGS * modules/thai/Makefile.am (INCLUDES): add X_CFLAGS
* put creation of module file here. Fixes problem if you 'make install' withHavoc Pennington2001-01-041-13/+0
| | | | | | | | | | | | | | | | | 2001-01-04 Havoc Pennington <hp@redhat.com> * pango/Makefile.am (install-data-local): put creation of module file here. Fixes problem if you 'make install' with no preceding 'make' reported by Michael Meeks. * modules/Makefile.am (install-data-local): remove creation of module file from here * Makefile.am (SUBDIRS): remove pango-config * configure.in: use pkg-config to detect GLib cflags/libs * pangoxft.pc (Description): fix name/description
* i2001-01-04 Alexander Larsson <alla@lysator.liu.se>Alexander Larsson2001-01-0414-37/+59
| | | | | | | | | | | | | | | | | | | | | * modules/arabic/arabic-x.c: * modules/arabic/arabic-xft.c: * modules/basic/basic-ft2.c: * modules/basic/basic-win32.c: * modules/basic/basic-x.c: * modules/hangul/hangul-x.c: * modules/indic/bengali-x.c: * modules/indic/devanagari-x.c: * modules/indic/gujarati-x.c: * modules/indic/gurmukhi-x.c: * modules/indic/myanmar-x.c: * modules/tamil/tamil-x.c: * modules/thai/thai-x.c: Change all modules to use a define to the script engine name. Also Fixes some errors in the names (they were different in the same module). * pango/.cvsignore: add module-defs*.[ch]
* Rename all x modules from abc to abc-x.Alexander Larsson2001-01-0326-4376/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-03 Alexander Larsson <alexl@redhat.com> * configure.in: * modules/arabic/Makefile.am: * modules/arabic/arabic-x.c: * modules/basic/Makefile.am: * modules/basic/basic-x.c: * modules/hangul/Makefile.am: * modules/hangul/hangul-x.c: * modules/indic/Makefile.am: * modules/indic/bengali-x.c: * modules/indic/devanagari-x.c: * modules/indic/gujarati-x.c: * modules/indic/gurmukhi-x.c: * modules/indic/myanmar-x.c: * modules/tamil/Makefile.am: * modules/tamil/tamil-x.c: * modules/thai/Makefile.am: * modules/thai/thai-x.c: Rename all x modules from abc to abc-x. * modules/arabic/arabic.c: * modules/basic/basic.c: * modules/hangul/hangul.c: * modules/indic/bengali.c: * modules/indic/devanagari.c: * modules/indic/gujarati.c: * modules/indic/gurmukhi.c: * modules/indic/myanmar.c: * modules/tamil/tamil.c: * modules/thai/thai.c: These were all copied to file-x.c and then removed.
* Remove leftover .cvsignoreOwen Taylor2001-01-031-6/+0
|
* Update the default list of included modules forAlexander Larsson2001-01-037-27/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-03 Alexander Larsson <alexl@redhat.com> * configure.in: Update the default list of included modules for --with-included-modules=yes to include all new modules. Split INCLUDED_MODULES and module-defs.c into per shaper engine type lists. * modules/arabic/Makefile.am: Build libpango-arabic-xft.la if INCLUDE_ARABIC_XFT. * modules/arabic/arabic-xft.c: Change module prefix to _pango_arabic_xft_ * modules/basic/Makefile.am: Build static libs for all included modules. * modules/basic/basic-ft2.c: Change module prefix to _pango_basic_ft2_ * modules/basic/basic-xft.c: Change module prefix to _pango_basic_xft_ * pango/Makefile.am: Include correct module-defs-XXX in libs. * pango/modules.h: Split _pango_included_modules[] into separate lists. * pango/pangox.c: * pango/pangoft2.c: * pango/pangoxft-fontmap.c: Register built in modules.
* Only a script engine here.Tor Lillqvist2000-12-211-3/+1
| | | | | | | | | | | | | | | | | | | | 2000-12-21 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c (script_engine_load): Only a script engine here. * pango/makefile.mingw.in: Add the built pango-enum-types.[ch]. * pango/pango.def * pango/pangoft2.def: Update. * pango/opentype/pango-ot.def * pango/opentype/makefile.mingw.in: New files. * pango/opentype/Makefile.am (EXTRA_DIST): Add them. * configure.in (included_modules): Generate pango/opentype/makefile.mingw.
* Change usage to say pango-config instead of glib-config. Add support forAlexander Larsson2000-12-212-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-21 Alexander Larsson <alexl@redhat.com> * pango-config.in: Change usage to say pango-config instead of glib-config. Add support for pangoft2. * modules/basic/Makefile.am: Compile and install pango-basic-ft2 if freetype was found. * modules/basic/basic-ft2.c: Remove lang engine. Make the glyph from the glyph index instead of the unicode index. The id is really BasicScriptEngineFT2. * pango/Makefile.am: Compile and install pangoft2 if freetype was found. * pango/pangoft2-fontcache.c (pango_ft2_font_cache_load): Init face->generic.data to 0, since this field will be used to cache the current size of the face. * pango/pangoft2-fontmap.c (pango_ft2_font_map_for_display): Use g_object_new instead of g_type_create_instance. (pango_ft2_font_entry_get_coverage): Use G_DIR_SEPARATOR_S instead of \\. (pango_ft2_font_entry_get_coverage): Init result to NULL. Don't write to file if open failed. * pango/pangoft2-private.h: Add PangoFT2GlyphInfo. * pango/pangoft2.c (pango_ft2_get_face): Export function, and make sure it sets the correct face size. (pango_ft2_load_font, pango_ft2_get_per_char, pango_ft2_font_get_kerning): PANGO_FT2_GLYPH_INDEX stores the glyph index, not the unicode value. (pango_ft2_font_get_glyph_extents): Cache glyph extents. (pango_ft2_has_glyph): Remove function. (pango_ft2_font_finalize): Free glyph info cache. * pango/pangoft2.h: Export pango_ft2_get_face, remove pango_ft2_has_glyph.