Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 25264 → Rev 25265

/trunk/Scribus/CMakeLists_Dependencies.cmake
260,7 → 260,7
endif()
 
# CTL support
pkg_check_modules(HARFBUZZ REQUIRED harfbuzz>=0.9.42 harfbuzz-icu)
pkg_check_modules(HARFBUZZ REQUIRED harfbuzz>=1.0.5 harfbuzz-icu)
if (HARFBUZZ_FOUND)
message("Harfbuzz library Found OK")
endif()
/trunk/Scribus/scribus/text/textshaper.cpp
338,7 → 338,10
hb_font_set_scale(hbFont, style.fontSize(), style.fontSize());
FT_Face ftFace = hb_ft_font_get_face(hbFont);
if (ftFace)
{
FT_Set_Char_Size(ftFace, style.fontSize(), 0, 72, 0);
hb_ft_font_changed(hbFont);
}
 
hb_direction_t hbDirection = (textRun.dir == UBIDI_LTR) ? HB_DIRECTION_LTR : HB_DIRECTION_RTL;
hb_script_t hbScript = hb_icu_script_to_script(textRun.script);