SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
Oct 18, 2011 — Santa Clara, CA
35th Internationalization and Unicode Conference


An Abstract Model for the
Typography of Perso-Arabic Script
Behnam Esfahbod                  Yahya Tabesh
Persian Internet Society         Sharif Institute of Technology
behnam@esfahbod.info             tabesh@sharif.edu
                                                                  1
Encoding Arabic Script
                         2
Typographic Encodings
●   Used in early computing era
       ●   Came from typewriters
       ●   One code-point for each “shape”
●   Unicode obsolete Arabic blocks
       ●   “Arabic Presentation Forms-A” (U+FB50 – U+FDFF)
       ●   “Arabic Presentation Forms-B” (U+FE70 – U+FEFF)
●   Hard to process
       ●   Up to four code-points for letters
       ●   Easy to visualize
●   One glyph for each code-point
       ●   Easy to compare shapes
                                                             3
First Persian Encoding Standard
Iranian National Standard, ISIRI 2900
A 7-bit code-page

Two shapes/code-points for almost all
letters
One shape for ALEF family
One shape for HIGH HAMZA ligatures
No room left for LIGATURE ALEF WITH
MADDA family




                                        5
Semantic Encodings
●   Unicode Arabic blocks
        ●   “Arabic” (U+0600 – U+06FF)
        ●   “Arabic Supplement” (U+0750 – U+077F)
●   Easy to process
        ●   Up to four code-points for letters
●   Hard to visualize
        ●   Joining Algorithm
        ●   Bidirectional Algorithm
●   Hard to compare shapes


                                                    6
Why An Abstract Model?
                         7
Fonts
●   Dots in non-Isolated forms
●   Same base shapes
        ●   Yeh-based letters
●   Different base shapes
        ●   Heh-based letters
        ●   Keh-based letters
        ●   Yeh-based letters
●   Ligatures
        ●   YEH + HAMZA ABOVE should not have any dots
●   Other Cases
                                                         8
Security and Usability
●   Very complicated in multi-lingual environments
●   What would be the shape for a string
●   How user can type what they see
        ●   U+0647 ARABIC LETTER HEH (D)
        ●   U+06D5 ARABIC LETTER AE (R)
        ●   Ex: ‫ئههگهر‬
                  ‌‫ر‌ ر‬
●   ICANN IDN Variants Issue Project
        ●   Same shape in at least one joining form (11 groups)
        ●   Same Shape in Composed and Decomposed forms (70)
        ●   Tah-based letters

                                                                  10
Different Writing Styles
●   Properties of letter shapes are consistent in
    different writing styles
●   Most common fonts have only 2 glyphs for ALEF,
    but a Nasta'liq font may have more than 20
    glyphs
●   Should consider all styles for security and usability




                                                        12
The Abstract Model
                     13
Concepts
●   Define “Shape” in parallel with “Character”
●   Shapes are building blocks of the script
        ●   How they teach it in school
●   They exist only by name
        ●   May use code-points to encode
●   Let's show them as S+shape-name
        ●   S+BehInit, S+SeenMedi, S+NoonFina, S+YehIsol
        ●   S+DotAbove, S+ThreeUpwardDotsBelow
●   Defined in ShapesData.txt


                                                           14
Character Shapes
●   Arabic Contextual Joining Algorithm
        ●   Non-Joining letters            1 form
        ●   Right-Joining letters          2 forms
        ●   Dual-Joining letters           4 forms
●   One BaseShape for each letter form
●   Zero or more AuxShapes
●   Ex: U+064A ARABIC LETTER YEH
        ●   Isol:   [S+YehIsol, S+TwoDotsBelow]
        ●   Fina:   [S+YehFina, S+TwoDotsBelo]
        ●   Init:   [S+BehInit, S+TwoDotsBelow]
        ●   Medi:   [S+BehMedi, S+TwoDotsBelow]

●   Defined in CharacterShapes.txt                   15
‫‪Base Shapes‬‬
‫●‬   ‫‪Four groups of BaseShapes‬‬
‫●‬   ‫‪Group “Isol”, 24 shapes‬‬
        ‫●‬   ‫,ه ,مـ ,م ,ٯ ,ڡ ,ع ,ط ,ص ,س ,ح ,ک ,ك ,ل ,ے ,ی ,ں ,ٮ ,د ,و ,ر ,ا‬
                ‫ء ,ہ ,ھ‬
‫●‬   ‫‪Group “Fina”, 23 shapes‬‬
        ‫●‬   ‫,ر‌ه ,ر‌مـ ,ر‌م ,ر‌ٯ ,ر‌ڡ ,ر‌ع ,ر‌ط ,ر‌ص ,ر‌س ,ر‌ح ,ر‌ک ,ر‌ر‌ك ,ر‌ل ,‍ے ,ر‌ی ,ر‌ں ,ٮ ,ر‌د ,ر‌و ,ر‌ر ,ر‌ا‬
                 ‫‍ہ ,ر‌ھ‬
‫●‬   ‫‪Group “Init”, 11 shapes‬‬
        ‫●‬   ‫‍ھ ,‍م ,‍ڡ ,‍ع ,‍ط ,‍ص ,‍س ,‍ح ,‍ك ,‍ل ,‍ٮ‬
‫●‬   ‫‪Group “Medial”, 12 shapes‬‬
        ‫●‬   ‫‍ـھ ,‍ر‌ه ,‍ر‌م ,‍ر‌ڡ ,‍ر‌ع ,‍ر‌ط ,‍ر‌ص ,‍ر‌س ,‍ر‌ح ,‍ر‌ك ,‍ر‌ل ,‍ر‌ٮ‬
                                                                               ‫ر‌‬
                                                                                                                       ‫61‬
Auxiliary Shapes
●   Three groups of AuxShapes
●   Group “Above”, 28 shapes
    S+SarkeshAbove S+StrokeAbove S+RingAbove S+DotAbove S+TwoDotsAbove
    S+TwoVerticalDotsAbove S+ThreeDotsAbove S+ThreeDownwardDotsAbove
    S+FourDotsAbove S+VAbove S+InvertedVAbove S+MaddaAbove S+AlefAbove
    S+HamzaAbove S+WavyHamzaAbove S+WaslAbove S+TahAbove S+ShaddaAbove
    S+DigitTwoAbove S+DigitThreeAbove S+DigitFourAbove S+FathaAbove
    S+KasraAbove S+DammaAbove S+FathatanAbove S+KasratanAbove
    S+DammatanAbove S+SukunAbove

●   Group “Below”, 12 shapes
    S+StrokeBelow S+RingBelow S+DotBelow S+TwoDotsBelow S+TwoVerticalDotsBelow
    S+ThreeDotsBelow S+ThreeUpwardDotsBelow S+ThreeHorizontalDotsBelow
    S+FourDotsBelow S+VBelow S+InvertedVBelow S+CommaBelow S+AlefBelow
    S+HamzaBelow S+WavyHamzaBelow S+TahBelow S+DigitFourBelow S+KasraBelow
    S+KasratanBelow

●   Group “End”, 1 shape
    S+TailEnd
                                                                            18
Shapes Sequence
●   Shapes Seq for a Unicode string
        ●   Arabic Contextual Joining
        ●   A seq of characters in specific joining forms
        ●   Concatenate the shapes
●   Ex: “‫”یونیدکد‬
            ‌‫ر‬
        ●   [FARSI YEH, WAW, NOON, FARSI YEH, ZWNJ, KEHEH, DAL]
        ●   [S+BehInit, S+TwoDotsBelow, S+BehInit, S+DotAbove,
              S+YehFina, S+KehInit, S+DalFina]




                                                                  19
Alternate Shapes
●   Based on language and/or style
●   Ex: U+0647 ARABIC LETTER HEH
       ●   Normal
                –   S+HehIsol
                –   S+HehFina
                –   S+HehInit
                –   S+HehMedi
       ●   Iranian Nasta'liq
                –   S+HehIsol
                –   S+HehFina
                –   S+BehInit CommaBelow
                –   S+BehMedi CommaBelow



                                           20
The Shape Distant
                    21
Shape Distant
●   A metric distant
●   Based on Levenshtein distance
●   Compares the Shapes Seqs for two strings
●   BaseShapes weigh more than AuxShapes
●   Also use alternate Shapes Seqs
●   May be customized for a specific style




                                               22
Proposal
●   Unicode Technical Note
●   Data files
        ●   ShapesData.txt
        ●   CharacterShapes.txt
●   Converting Unicode string to/from Shapes
●   How to use the Shapes seq to compute similarities
●   Should be usable by ICANN, IETF, etc




                                                    23
Corpus Analysis
                  24
Thank You!
             28

Contenu connexe

Dernier

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 

Dernier (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

An Abstract Model for the Typography of Perso-Arabic Script

  • 1. Oct 18, 2011 — Santa Clara, CA 35th Internationalization and Unicode Conference An Abstract Model for the Typography of Perso-Arabic Script Behnam Esfahbod Yahya Tabesh Persian Internet Society Sharif Institute of Technology behnam@esfahbod.info tabesh@sharif.edu 1
  • 3. Typographic Encodings ● Used in early computing era ● Came from typewriters ● One code-point for each “shape” ● Unicode obsolete Arabic blocks ● “Arabic Presentation Forms-A” (U+FB50 – U+FDFF) ● “Arabic Presentation Forms-B” (U+FE70 – U+FEFF) ● Hard to process ● Up to four code-points for letters ● Easy to visualize ● One glyph for each code-point ● Easy to compare shapes 3
  • 4.
  • 5. First Persian Encoding Standard Iranian National Standard, ISIRI 2900 A 7-bit code-page Two shapes/code-points for almost all letters One shape for ALEF family One shape for HIGH HAMZA ligatures No room left for LIGATURE ALEF WITH MADDA family 5
  • 6. Semantic Encodings ● Unicode Arabic blocks ● “Arabic” (U+0600 – U+06FF) ● “Arabic Supplement” (U+0750 – U+077F) ● Easy to process ● Up to four code-points for letters ● Hard to visualize ● Joining Algorithm ● Bidirectional Algorithm ● Hard to compare shapes 6
  • 7. Why An Abstract Model? 7
  • 8. Fonts ● Dots in non-Isolated forms ● Same base shapes ● Yeh-based letters ● Different base shapes ● Heh-based letters ● Keh-based letters ● Yeh-based letters ● Ligatures ● YEH + HAMZA ABOVE should not have any dots ● Other Cases 8
  • 9.
  • 10. Security and Usability ● Very complicated in multi-lingual environments ● What would be the shape for a string ● How user can type what they see ● U+0647 ARABIC LETTER HEH (D) ● U+06D5 ARABIC LETTER AE (R) ● Ex: ‫ئههگهر‬ ‌‫ر‌ ر‬ ● ICANN IDN Variants Issue Project ● Same shape in at least one joining form (11 groups) ● Same Shape in Composed and Decomposed forms (70) ● Tah-based letters 10
  • 11.
  • 12. Different Writing Styles ● Properties of letter shapes are consistent in different writing styles ● Most common fonts have only 2 glyphs for ALEF, but a Nasta'liq font may have more than 20 glyphs ● Should consider all styles for security and usability 12
  • 14. Concepts ● Define “Shape” in parallel with “Character” ● Shapes are building blocks of the script ● How they teach it in school ● They exist only by name ● May use code-points to encode ● Let's show them as S+shape-name ● S+BehInit, S+SeenMedi, S+NoonFina, S+YehIsol ● S+DotAbove, S+ThreeUpwardDotsBelow ● Defined in ShapesData.txt 14
  • 15. Character Shapes ● Arabic Contextual Joining Algorithm ● Non-Joining letters 1 form ● Right-Joining letters 2 forms ● Dual-Joining letters 4 forms ● One BaseShape for each letter form ● Zero or more AuxShapes ● Ex: U+064A ARABIC LETTER YEH ● Isol: [S+YehIsol, S+TwoDotsBelow] ● Fina: [S+YehFina, S+TwoDotsBelo] ● Init: [S+BehInit, S+TwoDotsBelow] ● Medi: [S+BehMedi, S+TwoDotsBelow] ● Defined in CharacterShapes.txt 15
  • 16. ‫‪Base Shapes‬‬ ‫●‬ ‫‪Four groups of BaseShapes‬‬ ‫●‬ ‫‪Group “Isol”, 24 shapes‬‬ ‫●‬ ‫,ه ,مـ ,م ,ٯ ,ڡ ,ع ,ط ,ص ,س ,ح ,ک ,ك ,ل ,ے ,ی ,ں ,ٮ ,د ,و ,ر ,ا‬ ‫ء ,ہ ,ھ‬ ‫●‬ ‫‪Group “Fina”, 23 shapes‬‬ ‫●‬ ‫,ر‌ه ,ر‌مـ ,ر‌م ,ر‌ٯ ,ر‌ڡ ,ر‌ع ,ر‌ط ,ر‌ص ,ر‌س ,ر‌ح ,ر‌ک ,ر‌ر‌ك ,ر‌ل ,‍ے ,ر‌ی ,ر‌ں ,ٮ ,ر‌د ,ر‌و ,ر‌ر ,ر‌ا‬ ‫‍ہ ,ر‌ھ‬ ‫●‬ ‫‪Group “Init”, 11 shapes‬‬ ‫●‬ ‫‍ھ ,‍م ,‍ڡ ,‍ع ,‍ط ,‍ص ,‍س ,‍ح ,‍ك ,‍ل ,‍ٮ‬ ‫●‬ ‫‪Group “Medial”, 12 shapes‬‬ ‫●‬ ‫‍ـھ ,‍ر‌ه ,‍ر‌م ,‍ر‌ڡ ,‍ر‌ع ,‍ر‌ط ,‍ر‌ص ,‍ر‌س ,‍ر‌ح ,‍ر‌ك ,‍ر‌ل ,‍ر‌ٮ‬ ‫ر‌‬ ‫61‬
  • 17.
  • 18. Auxiliary Shapes ● Three groups of AuxShapes ● Group “Above”, 28 shapes S+SarkeshAbove S+StrokeAbove S+RingAbove S+DotAbove S+TwoDotsAbove S+TwoVerticalDotsAbove S+ThreeDotsAbove S+ThreeDownwardDotsAbove S+FourDotsAbove S+VAbove S+InvertedVAbove S+MaddaAbove S+AlefAbove S+HamzaAbove S+WavyHamzaAbove S+WaslAbove S+TahAbove S+ShaddaAbove S+DigitTwoAbove S+DigitThreeAbove S+DigitFourAbove S+FathaAbove S+KasraAbove S+DammaAbove S+FathatanAbove S+KasratanAbove S+DammatanAbove S+SukunAbove ● Group “Below”, 12 shapes S+StrokeBelow S+RingBelow S+DotBelow S+TwoDotsBelow S+TwoVerticalDotsBelow S+ThreeDotsBelow S+ThreeUpwardDotsBelow S+ThreeHorizontalDotsBelow S+FourDotsBelow S+VBelow S+InvertedVBelow S+CommaBelow S+AlefBelow S+HamzaBelow S+WavyHamzaBelow S+TahBelow S+DigitFourBelow S+KasraBelow S+KasratanBelow ● Group “End”, 1 shape S+TailEnd 18
  • 19. Shapes Sequence ● Shapes Seq for a Unicode string ● Arabic Contextual Joining ● A seq of characters in specific joining forms ● Concatenate the shapes ● Ex: “‫”یونیدکد‬ ‌‫ر‬ ● [FARSI YEH, WAW, NOON, FARSI YEH, ZWNJ, KEHEH, DAL] ● [S+BehInit, S+TwoDotsBelow, S+BehInit, S+DotAbove, S+YehFina, S+KehInit, S+DalFina] 19
  • 20. Alternate Shapes ● Based on language and/or style ● Ex: U+0647 ARABIC LETTER HEH ● Normal – S+HehIsol – S+HehFina – S+HehInit – S+HehMedi ● Iranian Nasta'liq – S+HehIsol – S+HehFina – S+BehInit CommaBelow – S+BehMedi CommaBelow 20
  • 22. Shape Distant ● A metric distant ● Based on Levenshtein distance ● Compares the Shapes Seqs for two strings ● BaseShapes weigh more than AuxShapes ● Also use alternate Shapes Seqs ● May be customized for a specific style 22
  • 23. Proposal ● Unicode Technical Note ● Data files ● ShapesData.txt ● CharacterShapes.txt ● Converting Unicode string to/from Shapes ● How to use the Shapes seq to compute similarities ● Should be usable by ICANN, IETF, etc 23
  • 25.
  • 26.
  • 27.