1 / 35

Open Type Font

Open Type Font. Tafseer Ahmed Department of Computer Science University of Karachi. Types of Urdu Software Development. Word Processing Word Processors, Active-X Controls (Text Box, List, Buttons, Menus) Information Processing

lynley
Download Presentation

Open Type Font

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Open Type Font Tafseer Ahmed Department of Computer Science University of Karachi

  2. Types of Urdu Software Development • Word Processing Word Processors, Active-X Controls (Text Box, List, Buttons, Menus) • Information Processing Character Encoding, Database Operations (Sort, Search, Comparison) • Language Processing (Grammar Checkers, Translators, Speech Synthesizers and Recognizers, OCRs)

  3. Character, Script, Glyph and Font

  4. Character The character identified is an abstract entity, such as "LATIN CHARACTER CAPITAL A" or ”ARABIC CHARACTER HA”. Every Character has only one position/ code point in character representation schemes like Unicode.

  5. Script Script is writing Style of a language. For Example, English and French are written in Roman Script and Urdu and Farsi are written in Arabic Script

  6. Glyph The visual representation of the character made on screen or paper is called a Glyph. A Character can have more than one Glyphs.

  7. Character Encoding • Data and hence Text is stored in computer using Binary Numbers. • Character Encoding scheme like ASCII, EBCIDIC gives mapping of (English) Characters to Binary Numbers (for storage and processing). • Character of any language can have character encoding. This is basis of Code Pages. • Every language has a Code Page which have encoding of that language’s characters.

  8. Character Encoding of Urdu • Propriety Standards (Biggest Problem in Urdu Software Development) • Urdu Zabta Takhti (national standard code page of Urdu) • Unicode (International Standard for Multilingual Characters)

  9. Urdu Zabta Takhti

  10. Unicode • Unicode is repository of characters of almost all languages of the world. • Unicode has more than 65,000 code-points for characters. • All Software vendors are now supporting or switching to Unicode.

  11. A 0041 9662 FF96 4F85 0000 0xFFFF Unicode™ / ISO 10646 Compatibility Private use Future use • 16-bit international character encoding • Windows 2000 uses Unicode version 2.0 Ideographs(Hanzi, Kanji, Hanja) Hangul Kana Symbols Punctuation Thai Indian Arabic, Hebrew Greek (null) Latin ASCII 0x0000

  12. Approaches to Urdu Fonts • Naskh (Character Based) • Nastaleeq (Character Based) • Nastaleeq (Ligature Based)

  13. Major Problems in developing Urdu Fonts • Many Glyphs corresponding to One Character. • Only 256 positions are available in Font File. So all Ligatures cannot be stored in a single file. • A Special purpose Urdu Word Processor is required to implement glyph joining and substitution logic.

  14. Open Type Font (OTF)

  15. True Type Font • The TrueType font technology consists of two components: • TrueType Font • TrueType Rasterizer • One Glyph corresponding to one Code Point/ Position in the Font File.

  16. Open Type Font • OpenType is a new cross-platform font file format developed jointly by Adobe and Microsoft. • It is an extension of True Type Font. • OpenType Font may contain more than 65,000 glyphs. • One character may correspond to several glyphs.

  17. A rich mapping between characters and glyphs, which supports ligatures, positional forms, alternates, and other substitutions. • Information to support features for two-dimensional positioning and glyph attachment. • It Explicit script and language information, so a text-processing application can adjust its behavior accordingly

  18. Tables in OTF Font • CMAP (Character to Glyph Mapping) • GDEF (Glyph Definition Data) • GPOS (Glyph Position Data) • GSUB (Glyph Substitution Data) • BASE (Baseline Data) • JSTF (Justification Data)

  19. GDEF Table • Glyph Class Definition • Simple • Ligature • Combining Mark • Component

  20. Attachment Point List Glyph Attachment Points defined in GPOS • Ligature Caret List Table • Traditional Urdu Word Processor • Open Type enabled Word Processor

  21. CMAP • The mapping of GIDs of Glyphs to character code point.

  22. GSUB • information for substituting glyphs to render the scripts and language systems supported in a font. • Types of Substitution • A Single Substitution replaces a single glyph with another single glyph.

  23. An Alternate Substitution identifies functionally equivalent but different looking forms of a glyph. • A Multiple Substitution replaces a single glyph with more than one glyph. This is used to specify actions such as ligature decomposition. • ALigature Substitution replaces several glyph indices with a single glyph index.

  24. Contextual substitution describes glyph substitutions in context–that is, a substitution of one or more glyphs within a certain pattern of glyphs. Each substitution describes one or more input glyph sequences and one or more substitutions to be performed on that sequence.

  25. GPOS • precise control over glyph placement for sophisticated text layout and rendering in different script and language system. • To properly render Urdu glyph, a text processing client must modify both horizontal and vertical positional of glyph. • Entry and Exit Points

  26. BASE Contains information about baseline offsets on a script-by-script basis. JSTF Contains justification information, including whitespace and Kashida adjustments.

  27. VOLTVisual Open LayOut Tool Developed By Microsoft

  28. Glyph Grid • Glyph Name • Glyph type • Glyph ID • Unicode • Components

  29. Glyph Group • Glyph Name • Glyph Group • Glyph Range • Glyph Enumeration

  30. Substitution Tool • Lookup Name • Lookup Type • Process Marks • Process Base Glyph • Text Flow

  31. Positioning Tool • Lookup Header • Lookup Type • Glyph Positioner • Glyph Adjustment (Single,Pair,Anchor) • Cursive Attachment • Caret Positioning

  32. Urdu Support in Software • Windows XP • Windows 2000 • Office 2000 and XP • Internet Explorer 5.5 • Visual Studio • Java

  33. Urdu Support in Windows 2000 • Input locale (Currency, Date) • Keyboard • Write Urdu anywhere (Notepad, Windows Explorer) • RTL( Right to Left) Controls including Windows, Text Boxes

  34. Issues in Urdu Databases • Unicode Urdu Characters are not in A Sequence. Need Collating Sequence for Sorting • Diacritics (Aarab) Problem in Sorting and Comparison with diacritics.

  35. Web Resources • http://www.microsoft.com/typography/developers/opentype/ • http://microsoft.com/globaldev/ • http://communities.msn.com/MicrosoftVOLTuserscommunity/ • http://www.adobe.com/type/opentype/ • www.unicode.org

More Related