summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_font_ot.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-07-03 07:29:37 +0000
committerTom Hacohen <tom@stosb.com>2012-07-03 07:29:37 +0000
commit382c380bb29b068a7f0ef240c30ffa2697fc7de4 (patch)
tree88ed0c2e9e1ccd894e25ad6b6b6635d68dd51e5d /legacy/evas/src/lib/engines/common/evas_font_ot.c
parentcf10c5d487f73c80fa3c221e83d872dbc826b88a (diff)
Evas: Revert "Evas: Support harfbuzz version checking." (73196)
1. We already check in configure.ac that harfbuzz is at least 0.9.0, so those code paths will never get triggered anyway. 2. We don't plan on supporting old harfbuzz anyway. People should just upgrade harfbuzz (Not really an issue since it's not yet released). SVN revision: 73197
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_font_ot.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_font_ot.c b/legacy/evas/src/lib/engines/common/evas_font_ot.c
index 3e22603483..9ed92c75f0 100644
--- a/legacy/evas/src/lib/engines/common/evas_font_ot.c
+++ b/legacy/evas/src/lib/engines/common/evas_font_ot.c
@@ -294,19 +294,10 @@ evas_common_font_ot_populate_text_props(const Eina_Unicode *text,
294 slen = len; 294 slen = len;
295 } 295 }
296 296
297#if HB_VERSION_CHECK(0,7,0)
298 buffer = hb_buffer_create(slen);
299#else
300 buffer = hb_buffer_create(); 297 buffer = hb_buffer_create();
301#endif
302 hb_buffer_set_unicode_funcs(buffer, _evas_common_font_ot_unicode_funcs_get()); 298 hb_buffer_set_unicode_funcs(buffer, _evas_common_font_ot_unicode_funcs_get());
303#if HB_VERSION_CHECK(0,7,0)
304 hb_buffer_set_language(buffer, hb_language_from_string(
305 evas_common_language_from_locale_get()));
306#else
307 hb_buffer_set_language(buffer, hb_language_from_string( 299 hb_buffer_set_language(buffer, hb_language_from_string(
308 evas_common_language_from_locale_get(), -1)); 300 evas_common_language_from_locale_get(), -1));
309#endif
310 hb_buffer_set_script(buffer, _evas_script_to_harfbuzz[props->script]); 301 hb_buffer_set_script(buffer, _evas_script_to_harfbuzz[props->script]);
311 hb_buffer_set_direction(buffer, 302 hb_buffer_set_direction(buffer,
312 (props->bidi.dir == EVAS_BIDI_DIRECTION_RTL) ? 303 (props->bidi.dir == EVAS_BIDI_DIRECTION_RTL) ?