Questions tagged [harfbuzz]

HarfBuzz is a software development library for shaping of Unicode text (converting Unicode point sequences to glyph indices and positions). The most recent incarnation of HarfBuzz ("New HarfBuzz") targets various font technologies while the first version ("Old HarfBuzz") targeted only OpenType fonts.

It is important to understand that New HarfBuzz, provides only text shaping functionality (converting Unicode point sequences to glyph indices and positions). It does not perform text layout or rendering, so if those functionalities are required, other libraries will have to be used, such as Pango (which incorporates HarfBuzz) for higher-level text layout, and FreeType or Anti-Grain Geometry for text rendering.

The goals for New HarfBuzz, as set by the developers, are for HarfBuzz to be: beautiful, robust, flexible, efficient, portable. Some potential applications that a good-fit for HarfBuzz are: GUI toolkits, web browsers, word processors, designer tools, font design tools, terminal emulators, batch document processors, TeX engines.

60 questions
14
votes
2 answers

Indic Language Support for SDK but not PhoneGap

I am trying to develop an app in android with Indian language support exclusively. I just want to convert my text page, on app, in any Indian language, selected by user. For this I don't want to use web-service and also don't want to use Phonegap. I…
Manish Kumar
  • 1,095
  • 9
  • 19
7
votes
3 answers

How build harfbuzz without dependencies

I want build latest harfbuzz-ng library on Windows 7. But in build system by default I must go through long quest to gain: ragel, pkg-config, gtkdocize and other stuff. Even in the end if I get all what need for build system I get errors (sorry…
DeadWarlock
  • 720
  • 6
  • 23
7
votes
4 answers

HarfBuzz getting started

I cannot find the guide to get started with using HarfBuzz in my own app. I looked here: http://freedesktop.org/wiki/Software/HarfBuzz/ This seems to be the official page of HarfBuzz. I looked over Download, Building and Development sections. But I…
exebook
  • 32,014
  • 33
  • 141
  • 226
6
votes
2 answers

CTL (Complex Text Language) support in Android

I am trying to develop Android IME for Asia language (require complicated rendering such as changing glyph forms, reordering character order, etc). In PC, the use of GTK, Pango, Graphite is sufficient. In Android how can I solve rendering of…
aemon
  • 789
  • 2
  • 7
  • 13
6
votes
1 answer

What is the purpose of fc-cache in fontconfig?

i went through the documentation of fontconfig and i could understand the purpose of fc-match and fc-list. I am not understanding what does fc-cache does? How does it help device to understand things related to fonts? Could anyone explain what is…
shri
  • 61
  • 1
  • 1
  • 4
5
votes
0 answers

How to perform glyph substitution with Freetype, Harfbuzz and Fontconfig

I am currently implementing font rendering in McCLIM using Freetype, Harfbuzz and Fontconfig. As long as I pick the correct font, I can get text to render very nicely using these libraries. My main problem right now is how to deal with missing…
Elias Mårtenson
  • 3,820
  • 23
  • 32
5
votes
2 answers

How do I build Cairo/Harfbuzz?

Cairo has a dependency on FontConfig. FontConfig has a dependency on Freetype. I have built FreeType, but when I try to build FontConfig I get link errors as FreeType needs HarfBuzz. When I try to build Harfbuzz, it has a dependency on FreeType.…
AlastairG
  • 4,119
  • 5
  • 26
  • 41
5
votes
3 answers

undefined reference to `hb_ft_font_create' on linux

When compiling pango I get this error: lib/libfreetype.so: undefined reference to `hb_ft_font_create' I've compiled freetype and harfbuzz; also I pass -lfreetype and -lharfbuzz in LIBS variable.
nitin kumar
  • 642
  • 12
  • 21
5
votes
1 answer

undefined reference to `hb_ft_font_create' on Windows, Cygwin

I've got the following error when I tried to compile my program using Cygwin and Eclipse CDT on Windows. undefined reference to `hb_ft_font_create' I think this is caused by the order of -l parameter. Basically this function depends on Freetype2,…
5
votes
2 answers

Docs for harfbuzz-ng or API details

I was working on harbuzz old one. now a new version of harbuzz-ng has came. now this structure is completely changes in comparison of old code. Without API docs its really hard to work/use this library. I google about it but didnot find any relavent…
dead programmer
  • 4,223
  • 9
  • 46
  • 77
5
votes
1 answer

What is font shape engine and font layout engine?

Also it will be good to have a list of open source libraries which does layout & shaping.
Arunprasad Rajkumar
  • 1,374
  • 1
  • 15
  • 31
4
votes
2 answers

Unable to load shared library 'libHarfBuzzSharp' or one of its dependencies Error when running on linux after upgrading to .NET 6

Posting this here in case it helps someone else. We use GemBox to build Excel reports and PDF's and we run our code on Linux. We've been upgrading our projects to .NET 6 and have just run into this error. Unable to load shared library…
Bug Maker
  • 434
  • 7
  • 20
4
votes
1 answer

ld: -bind_at_load and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together

I have set the following compiler and linker settings for building harfbuzz for my IOS library: CC=clang CXX=clang++ CXXFLAGS='-miphoneos-version-min=9.0 -stdlib=libc++ -pipe -arch arm64 -no-cpp-precomp…
4
votes
1 answer

Units used by hb_position_t in HarfBuzz

I've been looking at this page, as well as this code example and I've noticed that the x_advance, y_advance, x_offset and y_offset fields in hb_glyph_position_t are of the type hb_position_t, which is an alias to int32_t. I haven't found any…
bb94
  • 1,294
  • 1
  • 11
  • 24
4
votes
1 answer

indic-text-renderer using harfbuzz and freetype

I am developing an Android application which should support Devanagari Fonts. So I downloaded indic-text-renderer and tried to run it as per the instruction stated here and managed to successfully compile the NDK part. But when I try to run the…
dd619
  • 5,910
  • 8
  • 35
  • 60
1
2 3 4