From: Behdad Esfahbod Date: Fri, 17 Aug 2012 00:51:57 +0000 (-0400) Subject: Merge branch 'harfbuzz-ng-external' X-Git-Tag: 1.31.0~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8168660e5f1906aed2a45d30529058f51473bcef;p=platform%2Fupstream%2Fpango.git Merge branch 'harfbuzz-ng-external' Conflicts: configure.in docs/tmpl/text-attributes.sgml modules/arabic/arabic-ot.c modules/indic/indic-ot.c pango/opentype/Makefile.am pango/opentype/hb-blob.c pango/opentype/hb-buffer-private.h pango/opentype/hb-common.h pango/opentype/hb-ot-layout-gsubgpos-private.hh pango/opentype/hb-private.h pango/pango-ot-info.c --- 8168660e5f1906aed2a45d30529058f51473bcef diff --cc build/win32/vs10/pangoft2.vcxproj.filtersin index 444ae58,0000000..bd1b8d6 mode 100644,000000..100644 --- a/build/win32/vs10/pangoft2.vcxproj.filtersin +++ b/build/win32/vs10/pangoft2.vcxproj.filtersin @@@ -1,41 -1,0 +1,40 @@@ + + + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + + Resource Files + + + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files - #include "opentype/libharfbuzz.vs10.sourcefiles.filters" +#include "libpangoft2.vs10.sourcefiles.filters" + + diff --cc build/win32/vs10/pangoft2.vcxprojin index 3d7c73c,0000000..320c9bb mode 100644,000000..100644 --- a/build/win32/vs10/pangoft2.vcxprojin +++ b/build/win32/vs10/pangoft2.vcxprojin @@@ -1,238 -1,0 +1,237 @@@ + + + + + Debug_FC + Win32 + + + Debug_FC + x64 + + + Release_FC + Win32 + + + Release_FC + x64 + + + + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73} + pangoft2 + Win32Proj + + + + DynamicLibrary + MultiByte + + + DynamicLibrary + MultiByte + + + DynamicLibrary + MultiByte + + + DynamicLibrary + MultiByte + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + true + true + true + true + + + + Disabled + ..\;%(AdditionalIncludeDirectories) + _DEBUG;$(PangoDefines);HAVE_GLIB;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDLL + + + Level3 + EditAndContinue + + + fontconfig.lib;freetype.lib;%(AdditionalDependencies) + $(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll + ..\..\..\pango\pangoft2.def + true + Windows + $(TargetDir)$(ProjectName)-$(PangoApiVersion).lib + MachineX86 + + + + + ..\;%(AdditionalIncludeDirectories) + $(PangoDefines);HAVE_GLIB;%(PreprocessorDefinitions) + MultiThreadedDLL + + + Level3 + ProgramDatabase + + + fontconfig.lib;freetype.lib;%(AdditionalDependencies) + $(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll + ..\..\..\pango\pangoft2.def + true + Windows + true + true + $(TargetDir)$(ProjectName)-$(PangoApiVersion).lib + MachineX86 + + + + + Disabled + ..\;%(AdditionalIncludeDirectories) + _DEBUG;$(PangoDefines);HAVE_GLIB;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + ProgramDatabase + + + fontconfig.lib;freetype.lib;%(AdditionalDependencies) + $(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll + ..\..\..\pango\pangoft2.def + true + Windows + $(TargetDir)$(ProjectName)-$(PangoApiVersion).lib + MachineX64 + + + + + ..\;%(AdditionalIncludeDirectories) + $(PangoDefines);HAVE_GLIB;%(PreprocessorDefinitions) + MultiThreadedDLL + + + Level3 + ProgramDatabase + + + fontconfig.lib;freetype.lib;%(AdditionalDependencies) + $(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll + ..\..\..\pango\pangoft2.def + true + Windows + true + true + $(TargetDir)$(ProjectName)-$(PangoApiVersion).lib + MachineX64 + + + + + + + + PANGO_MODULE_PREFIX=_pango_arabic_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_arabic_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_arabic_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_arabic_fc;%(PreprocessorDefinitions) + + + + PANGO_MODULE_PREFIX=_pango_basic_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_basic_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_basic_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_basic_fc;%(PreprocessorDefinitions) + + + PANGO_MODULE_PREFIX=_pango_hangul_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_hangul_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_hangul_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_hangul_fc;%(PreprocessorDefinitions) + + + PANGO_MODULE_PREFIX=_pango_hebrew_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_hebrew_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_hebrew_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_hebrew_fc;%(PreprocessorDefinitions) + + + + PANGO_MODULE_PREFIX=_pango_indic_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_indic_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_indic_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_indic_fc;%(PreprocessorDefinitions) + + + + + + PANGO_MODULE_PREFIX=_pango_khmer_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_khmer_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_khmer_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_khmer_fc;%(PreprocessorDefinitions) + + + PANGO_MODULE_PREFIX=_pango_syriac_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_syriac_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_syriac_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_syriac_fc;%(PreprocessorDefinitions) + + + + + PANGO_MODULE_PREFIX=_pango_thai_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_thai_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_thai_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_thai_fc;%(PreprocessorDefinitions) + + + + PANGO_MODULE_PREFIX=_pango_tibetan_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_tibetan_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_tibetan_fc;%(PreprocessorDefinitions) + PANGO_MODULE_PREFIX=_pango_tibetan_fc;%(PreprocessorDefinitions) + - #include "opentype/libharfbuzz.vs10.sourcefiles" +#include "libpangoft2.vs10.sourcefiles" + + + + {68cc80b9-7225-4fb5-b9ab-9c1df50b6c72} + false + + + + + + diff --cc build/win32/vs9/pangoft2.vcprojin index 151c203,12beb15..9bfa2c2 --- a/build/win32/vs9/pangoft2.vcprojin +++ b/build/win32/vs9/pangoft2.vcprojin @@@ -230,7 -230,7 +230,6 @@@ --#include "opentype/libharfbuzz.sourcefiles" #include "libpangoft2.sourcefiles" diff --cc docs/tmpl/atsui-fonts.sgml index c8b6aa0,7f3c9dd..f19081b --- a/docs/tmpl/atsui-fonts.sgml +++ b/docs/tmpl/atsui-fonts.sgml @@@ -21,29 -21,3 +21,28 @@@ MacOS systems using the ATSUI text rend + + - A string constant identifying the ATSUI renderer. The associated quark (see - g_quark_from_string()) is used to identify the renderer in pango_find_map(). ++ + + + + + + + + + +@font: +@Returns: + + + + + + + +@font: +@Returns: + + diff --cc docs/tmpl/fonts.sgml index 7b55dea,16ca84f..d4ce316 --- a/docs/tmpl/fonts.sgml +++ b/docs/tmpl/fonts.sgml @@@ -442,24 -442,6 +442,15 @@@ the documentation of the corresponding of their meaning. - @ref_count: reference count. Used internally. See pango_font_metrics_ref() - and pango_font_metrics_unref(). - @ascent: the distance from the baseline to the highest point of the glyphs of - the font. This is positive in practically all fonts. - @descent: the distance from the baseline to the lowest point of the glyphs of - the font. This is positive in practically all fonts. - @approximate_char_width: approximate average width of the regular glyphs of - the font. Note that for this calculation, East Asian characters - (those passing g_unichar_iswide()) are counted as double-width. - This produces a more uniform value for this measure across languages - and results in more uniform and more expected UI sizes. - @approximate_digit_width: approximate average width of the glyphs for digits - of the font. - @underline_position: position of the underline. This is normally negative. - @underline_thickness: thickness of the underline. - @strikethrough_position: position of the strikethrough line. This is - normally positive. - @strikethrough_thickness: thickness of the strikethrough line. ++@ref_count: ++@ascent: ++@descent: ++@approximate_char_width: ++@approximate_digit_width: ++@underline_position: ++@underline_thickness: ++@strikethrough_position: ++@strikethrough_thickness: @@@ -984,7 -966,7 +975,7 @@@ a particular #PangoFontset implementati @fontset: @font: --@data: ++@user_data: @Returns: diff --cc docs/tmpl/glyphs.sgml index 399319e,926bf53..5d4be35 --- a/docs/tmpl/glyphs.sgml +++ b/docs/tmpl/glyphs.sgml @@@ -395,11 -389,6 +395,9 @@@ The storage for the glyph information i by the structure which simplifies memory management. - @num_glyphs: the number of glyphs in the string. - @glyphs: an array of #PangoGlyphInfo structures of length num_glyphs. - @log_clusters: for each glyph, byte index of the starting character for the - cluster. The indices are relative to the start of the text - corresponding to the PangoGlyphString. ++@num_glyphs: ++@glyphs: ++@log_clusters: @@@ -410,10 -399,6 +408,8 @@@ of shaping text with #PangoLayout is a each of which contains a list of #PangoGlyphItem. - @item: a #PangoItem structure that provides information - about a segment of text. - @glyphs: the glyphs obtained by shaping the text - corresponding to @item. ++@item: ++@glyphs: @@@ -457,14 -442,6 +453,14 @@@ None of the members of a #PangoGlyphIte - @glyph_item: the #PangoGlyphItem this iterator iterates over - @text: the UTF-8 text that @glyph_item refers to - @start_glyph: starting glyph of the cluster - @start_index: starting text index of the cluster - @start_char: starting number of characters of the cluster - @end_glyph: ending glyph of the cluster - @end_index: ending text index of the cluster - @end_char: ending number of characters of the cluster ++@glyph_item: ++@text: ++@start_glyph: ++@start_index: ++@start_char: ++@end_glyph: ++@end_index: ++@end_char: @Since: 1.22 diff --cc docs/tmpl/layout.sgml index 4be6a59,997507d..a3f22a0 --- a/docs/tmpl/layout.sgml +++ b/docs/tmpl/layout.sgml @@@ -845,12 -845,6 +845,12 @@@ Routines for rendering PangoLayout obje code specific to each rendering system. - @layout: the parent layout for this line - @start_index: the start of the line as byte index into @layout->text - @length: the length of the line in bytes - @runs: a list containing the runs of the line in visual order - @is_paragraph_start: %TRUE if this is the first line of the paragraph - @resolved_dir: the resolved #PangoDirection of the line ++@layout: ++@start_index: ++@length: ++@runs: ++@is_paragraph_start: ++@resolved_dir: diff --cc docs/tmpl/main.sgml index 8373b12,112baaa..f3759ce --- a/docs/tmpl/main.sgml +++ b/docs/tmpl/main.sgml @@@ -36,11 -36,6 +36,10 @@@ The #PangoItem structure stores informa a segment of text. It contains the following fields: - @offset: the offset of the segment from the beginning of the - string in bytes. - @length: the length of the segment in bytes. - @num_chars: the length of the segment in characters. - @analysis: the properties of the segment. ++@offset: ++@length: ++@num_chars: ++@analysis: diff --cc docs/tmpl/text-attributes.sgml index d12c041,d7b5cb5..edcd3ec --- a/docs/tmpl/text-attributes.sgml +++ b/docs/tmpl/text-attributes.sgml @@@ -465,8 -465,8 +465,10 @@@ A copy function passed to attribute ne user data. --@data: the user data ++@user_data: @Returns: a new copy of @data. ++ ++@data: the user data @@@ -578,10 -578,6 +580,9 @@@ The #PangoColor structure is used t represent a color in an uncalibrated RGB color-space. - @red: the red component of the color. This is a value between 0 and - 65535, with 65535 indicating full intensity - @green: the green component of the color - @blue: the blue component of the color ++@red: ++@green: ++@blue: @@@ -740,8 -736,8 +741,10 @@@ to filter out a subset of attributes fo @attribute: a #PangoAttribute --@data: callback data passed to pango_attr_list_filter() ++@user_data: @Returns: %TRUE if the attribute should be filtered out ++ ++@data: callback data passed to pango_attr_list_filter() diff --cc pango/Makefile.am index d653781,9883534..c08b5cc --- a/pango/Makefile.am +++ b/pango/Makefile.am @@@ -143,7 -135,7 +136,7 @@@ s-enum-types-h: $(pango_headers) Makefi --ftail "G_END_DECLS\n\n#endif /* __PANGO_ENUM_TYPES_H__ */" \ $(pango_headers) ) > tmp-pango-enum-types.h \ && (cmp -s tmp-pango-enum-types.h pango-enum-types.h || cp tmp-pango-enum-types.h pango-enum-types.h ) \ -- && rm -f tmp-pango-enum-types.h \ ++ && $(RM) tmp-pango-enum-types.h \ && echo timestamp > $(@F) pango-enum-types.c: s-enum-types-c @@@ -156,7 -148,7 +149,7 @@@ s-enum-types-c: $(pango_headers) Makefi --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (g_intern_static_string (\"@EnumName@\"), values);\n }\n return etype;\n}\n" \ $(pango_headers) ) > tmp-pango-enum-types.c \ && (cmp -s tmp-pango-enum-types.c pango-enum-types.c || cp tmp-pango-enum-types.c pango-enum-types.c ) \ -- && rm -f tmp-pango-enum-types.c \ ++ && $(RM) tmp-pango-enum-types.c \ && echo timestamp > $(@F) pango-features.h: @@@ -496,15 -482,15 +488,15 @@@ if HAVE_ $(INSTALL) $(srcdir)/pangoxft.def $(DESTDIR)$(libdir)/pangoxft-$(PANGO_API_VERSION).def endif uninstall-def-files: -- -rm $(DESTDIR)$(libdir)/pango$(PANGO_API_VERSION).def ++ -$(RM) $(DESTDIR)$(libdir)/pango$(PANGO_API_VERSION).def if HAVE_FREETYPE -- -rm $(DESTDIR)$(libdir)/pangoft2-$(PANGO_API_VERSION).def ++ -$(RM) $(DESTDIR)$(libdir)/pangoft2-$(PANGO_API_VERSION).def endif -- -rm $(DESTDIR)$(libdir)/pangowin32-$(PANGO_API_VERSION).def -- -rm $(DESTDIR)$(libdir)/pangocairo-$(PANGO_API_VERSION).def ++ -$(RM) $(DESTDIR)$(libdir)/pangowin32-$(PANGO_API_VERSION).def ++ -$(RM) $(DESTDIR)$(libdir)/pangocairo-$(PANGO_API_VERSION).def if HAVE_X -- -rm $(DESTDIR)$(libdir)/pangox-$(PANGO_API_VERSION).def -- -rm $(DESTDIR)$(libdir)/pangoxft-$(PANGO_API_VERSION).def ++ -$(RM) $(DESTDIR)$(libdir)/pangox-$(PANGO_API_VERSION).def ++ -$(RM) $(DESTDIR)$(libdir)/pangoxft-$(PANGO_API_VERSION).def endif else install-def-files: @@@ -530,10 -516,10 +522,10 @@@ endi $(INSTALL) pangocairo-$(PANGO_API_VERSION).lib $(DESTDIR)$(libdir) uninstall-ms-lib: -- -rm $(DESTDIR)$(libdir)/pango-$(PANGO_API_VERSION).lib -- -rm $(DESTDIR)$(libdir)/pangoft2-$(PANGO_API_VERSION).lib -- -rm $(DESTDIR)$(libdir)/pangowin32-$(PANGO_API_VERSION).lib -- -rm $(DESTDIR)$(libdir)/pangocairo-$(PANGO_API_VERSION).lib ++ -$(RM) $(DESTDIR)$(libdir)/pango-$(PANGO_API_VERSION).lib ++ -$(RM) $(DESTDIR)$(libdir)/pangoft2-$(PANGO_API_VERSION).lib ++ -$(RM) $(DESTDIR)$(libdir)/pangowin32-$(PANGO_API_VERSION).lib ++ -$(RM) $(DESTDIR)$(libdir)/pangocairo-$(PANGO_API_VERSION).lib else install-ms-lib: uninstall-ms-lib: @@@ -671,20 -657,12 +663,20 @@@ TESTS = check.def dist-hook: \ ../build/win32/vs9/pango.vcproj \ ../build/win32/vs9/pangoft2.vcproj \ - ../build/win32/vs9/pangocairo.vcproj - -# pangowin32.vcproj is not automatically built, it is not being changed + ../build/win32/vs9/pangocairo.vcproj \ + ../build/win32/vs10/pango.vcxproj \ + ../build/win32/vs10/pango.vcxproj.filters \ + ../build/win32/vs10/pangocairo.vcxproj \ + ../build/win32/vs10/pangocairo.vcxproj.filters \ + ../build/win32/vs10/pangocairo_fc.vcxproj \ + ../build/win32/vs10/pangocairo_fc.vcxproj.filters \ + ../build/win32/vs10/pangoft2.vcxproj \ + ../build/win32/vs10/pangoft2.vcxproj.filters + +# pangowin32.vcproj, pangowin32.vcxproj and pangowin32.vcxproj.filters are not automatically built, it is not being changed ../build/win32/vs9/pango.vcproj: $(top_srcdir)/build/win32/vs9/pango.vcprojin mini-fribidi/libmini-fribidi.sourcefiles -- -rm $@ ++ -$(RM) $@ for F in $(libpango_1_0_la_SOURCES); do \ case $$F in \ *.c) echo ' ' \ @@@ -693,28 -671,8 +685,28 @@@ done >libpango.sourcefiles $(CPP) -P - <$(top_srcdir)/build/win32/vs9/pango.vcprojin >$@ -../build/win32/vs9/pangoft2.vcproj: $(top_srcdir)/build/win32/vs9/pangoft2.vcprojin opentype/libharfbuzz.sourcefiles - -rm $@ +../build/win32/vs10/pango.vcxproj: $(top_srcdir)/build/win32/vs10/pango.vcxprojin mini-fribidi/libmini-fribidi.vs10.sourcefiles - -rm $@ ++ -$(RM) $@ + for F in $(libpango_1_0_la_SOURCES); do \ + case $$F in \ + *.c) echo ' ' \ + ;; \ + esac; \ + done >libpango.vs10.sourcefiles + $(CPP) -P - <$(top_srcdir)/build/win32/vs10/pango.vcxprojin >$@ + +../build/win32/vs10/pango.vcxproj.filters: $(top_srcdir)/build/win32/vs10/pango.vcxproj.filtersin mini-fribidi/libmini-fribidi.vs10.sourcefiles.filters - -rm $@ ++ -$(RM) $@ + for F in $(libpango_1_0_la_SOURCES); do \ + case $$F in \ + *.c) echo ' Source Files' \ + ;; \ + esac; \ + done >libpango.vs10.sourcefiles.filters + $(CPP) -P - <$(top_srcdir)/build/win32/vs10/pango.vcxproj.filtersin >$@ + - ../build/win32/vs9/pangoft2.vcproj: $(top_srcdir)/build/win32/vs9/pangoft2.vcprojin opentype/libharfbuzz.sourcefiles - -rm $@ ++../build/win32/vs9/pangoft2.vcproj: $(top_srcdir)/build/win32/vs9/pangoft2.vcprojin ++ -$(RM) $@ for F in $(libpangoft2_1_0_la_SOURCES); do \ case $$F in \ *.c) echo ' ' \ @@@ -723,30 -681,10 +715,30 @@@ done >libpangoft2.sourcefiles $(CPP) -P - <$(top_srcdir)/build/win32/vs9/pangoft2.vcprojin >$@ - ../build/win32/vs10/pangoft2.vcxproj: $(top_srcdir)/build/win32/vs10/pangoft2.vcxprojin opentype/libharfbuzz.vs10.sourcefiles - -rm $@ ++../build/win32/vs10/pangoft2.vcxproj: $(top_srcdir)/build/win32/vs10/pangoft2.vcxprojin ++ -$(RM) $@ + for F in $(libpangoft2_1_0_la_SOURCES); do \ + case $$F in \ + *.c) echo ' ' \ + ;; \ + esac; \ + done >libpangoft2.vs10.sourcefiles + $(CPP) -P - <$(top_srcdir)/build/win32/vs10/pangoft2.vcxprojin >$@ + - ../build/win32/vs10/pangoft2.vcxproj.filters: $(top_srcdir)/build/win32/vs10/pangoft2.vcxproj.filtersin opentype/libharfbuzz.vs10.sourcefiles.filters - -rm $@ ++../build/win32/vs10/pangoft2.vcxproj.filters: $(top_srcdir)/build/win32/vs10/pangoft2.vcxproj.filtersin ++ -$(RM) $@ + for F in $(libpangoft2_1_0_la_SOURCES); do \ + case $$F in \ + *.c) echo ' Source Files' \ + ;; \ + esac; \ + done >libpangoft2.vs10.sourcefiles.filters + $(CPP) -P - <$(top_srcdir)/build/win32/vs10/pangoft2.vcxproj.filtersin >$@ + ../build/win32/vs9/pangocairo.vcproj: $(top_srcdir)/build/win32/vs9/pangocairo.vcprojin # Backend-specific sources for the libpangocairo DLL are explicitly # listed in the vcprojin file -- -rm $@ ++ -$(RM) $@ for F in $(pangocairo_core_sources); do \ case $$F in \ *.c) echo ' ' \ @@@ -755,73 -693,4 +747,73 @@@ done >libpangocairo.sourcefiles $(CPP) -P - <$(top_srcdir)/build/win32/vs9/pangocairo.vcprojin >$@ +../build/win32/vs10/pangocairo.vcxproj: $(top_srcdir)/build/win32/vs10/pangocairo.vcxprojin +# Backend-specific sources for the libpangocairo DLL are explicitly +# listed in the vcxprojin file +# I know it does not sound nice to have 2 pangocairo projects/filters sets due to FontConfig usage (or not), but VS2010 forces me to do that... - -rm $@ ++ -$(RM) $@ + for F in $(pangocairo_core_sources); do \ + case $$F in \ + *.c) echo ' ' \ + ;; \ + esac; \ + done >libpangocairo.vs10.sourcefiles + $(CPP) -P - <$(top_srcdir)/build/win32/vs10/pangocairo.vcxprojin >$@ + +../build/win32/vs10/pangocairo.vcxproj.filters: $(top_srcdir)/build/win32/vs10/pangocairo.vcxproj.filtersin +# Backend-specific sources for the libpangocairo DLL are explicitly +# listed in the vcxproj.filtersin file - -rm $@ ++ -$(RM) $@ + for F in $(pangocairo_core_sources); do \ + case $$F in \ + *.c) echo ' Source Files' \ + ;; \ + esac; \ + done >libpangocairo.vs10.sourcefiles.filters + $(CPP) -P - <$(top_srcdir)/build/win32/vs10/pangocairo.vcxproj.filtersin >$@ + +../build/win32/vs10/pangocairo_fc.vcxproj: $(top_srcdir)/build/win32/vs10/pangocairo_fc.vcxprojin +# Backend-specific sources for the libpangocairo DLL are explicitly +# listed in the vcxprojin file - -rm $@ ++ -$(RM) $@ + for F in $(pangocairo_core_sources); do \ + case $$F in \ + *.c) echo ' ' \ + ;; \ + esac; \ + done >libpangocairo.vs10.sourcefiles + $(CPP) -P - <$(top_srcdir)/build/win32/vs10/pangocairo_fc.vcxprojin >$@ + +../build/win32/vs10/pangocairo_fc.vcxproj.filters: $(top_srcdir)/build/win32/vs10/pangocairo_fc.vcxproj.filtersin +# Backend-specific sources for the libpangocairo DLL are explicitly +# listed in the vcxproj.filtersin file - -rm $@ ++ -$(RM) $@ + for F in $(pangocairo_core_sources); do \ + case $$F in \ + *.c) echo ' Source Files' \ + ;; \ + esac; \ + done >libpangocairo.vs10.sourcefiles.filters + $(CPP) -P - <$(top_srcdir)/build/win32/vs10/pangocairo_fc.vcxproj.filtersin >$@ + +DISTCLEANFILES += \ + ../build/win32/vs9/pango.vcproj \ + ../build/win32/vs9/pangoft2.vcproj \ + ../build/win32/vs9/pangocairo.vcproj \ + ../build/win32/vs10/pango.vcxproj \ + ../build/win32/vs10/pango.vcxproj.filters \ + ../build/win32/vs10/pangocairo.vcxproj \ + ../build/win32/vs10/pangocairo.vcxproj.filters \ + ../build/win32/vs10/pangocairo_fc.vcxproj \ + ../build/win32/vs10/pangocairo_fc.vcxproj.filters \ + ../build/win32/vs10/pangoft2.vcxproj \ + ../build/win32/vs10/pangoft2.vcxproj.filters \ + libpangocairo.vs10.sourcefiles.filters \ + libpangocairo.vs10.sourcefiles \ + libpangoft2.vs10.sourcefiles.filters \ + libpangoft2.vs10.sourcefiles \ + libpango.vs10.sourcefiles \ + libpango.vs10.sourcefiles + + -include $(top_srcdir)/git.mk diff --cc pango/pango-ot-info.c index e5d9c64,129431e..1f552c3 --- a/pango/pango-ot-info.c +++ b/pango/pango-ot-info.c @@@ -25,14 -25,8 +25,12 @@@ #include "pango-impl-utils.h" #include FT_TRUETYPE_TABLES_H +#if (!GLIB_CHECK_VERSION(2,29,15)) +#define G_UNICODE_SPACING_MARK G_UNICODE_COMBINING_MARK +#endif + static void pango_ot_info_finalize (GObject *object); - static void synthesize_class_def (PangoOTInfo *info); - G_DEFINE_TYPE (PangoOTInfo, pango_ot_info, G_TYPE_OBJECT); static void