[HarfBuzz] Need some test code for Harfbuzz

Behdad Esfahbod behdad at behdad.org
Sun Jan 20 10:03:36 PST 2013


Hi Rajugopal,

I don't know much about the Android compilation myself.  Excluding ICU is fine
if you include hb-ucdn instead.  I'm CC'ing the HarfBuzz list, hopefully
someone can help you.

behdad

On 13-01-19 03:12 AM, R Gubbi wrote:
> Dear Behdad,
> We are working on Kannada (an Indic) font rendering for a rural education
> project and of course, using Harfbuzz. This project started from using
> Indic-text-renderer at http://code.google.com/p/indic-text-renderer/ . Since
> there was no Harfbuzz or FT code there in that project, the following was done.
>  
> 1. Downloaded FT code from
> https://github.com/android/platform_external_freetype and built it. no errorrs
> reported
> 2. HarfBuzz was downloaded from http://cgit.freedesktop.org/harfbuzz/ and
> built. No errors reported while building src, but fails building options.cc in
> util. _HowToBuild.txt _at
> http://code.google.com/p/indic-text-renderer/suggests ignoring these errors.
> 3. However ndk-build fails. So, used the attached Android.mk which adds
>    (a) src/hb-ft.cc to LOCAL_SRC_FILES and also (b) removed hb_icu.c which
> looked for icu library. - NOT sure if (b) was a good move
>    While this compiled and produced a .SO file, the fonts rendered on the
> tablet (Android 4.0.3) is very fuzzy as if the fonts are very aliased. I am
> not able to send the screen shot as the screen shot is not coming out on this
> tablet. But from my experience in video processing, I can tell you that the
> fonts are all in dots and there is atleast one ghost image of the font making
> the whole thing very fuzzy.
>  
> If you have build instructions some where, please let me know. Secondly, is
> ignoring hb_icu.c in Android.mk a bad idea? finally, if you have some code for
> using Harfbuzzon android for Persian or Arabic or Indic, I appreciate it if we
> could use that?
>  
> Your early response is much appreciated.
>  
> Thanks and Regards
>  
> Dr. Rajugopal Gubbi
>  

-- 
behdad
http://behdad.org/



More information about the HarfBuzz mailing list