Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Indic Fonts display - UPP
Indic Fonts display - UPP [message #58438] Fri, 20 May 2022 15:13 Go to previous message
deep is currently offline  deep
Messages: 263
Registered: July 2011
Location: Bangalore
Experienced Member
I need Indian scripts display in applications created using UPP.

To display Indian fonts HarfBuzz usage is required.

All Indian scripts are very complex. All these complexcities are handled by HarfBuzz.

We have conjuncts (joined glyph ) some times with up to 5 chars and multi tier. Some char sequences are interchanged for display.

Steps required for Display India String.


  • Load and init font with HarfBuzz functions
  • Shape the string with HarfBuzz function. This gives correct glyph sequence
  • Get array of Glyph index for the processed string
  • Display string using glyph index to get glyph from font file.

I have modified the TextToSvgPath example to display the Indic fonts.
I am attaching code in next message along with font files.

Looking for hints how to use HarfBuzz pre-processing generically for UPP display.


index.php?t=getfile&id=6593&private=0


Warm Regards

Deepak
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Anybody lucky using libclang?
Next Topic: Just to show
Goto Forum:
  


Current Time: Thu Mar 28 18:03:35 CET 2024

Total time taken to generate the page: 0.01537 seconds