SlideShare a Scribd company logo
‫سه گانه زبان و ادب پارسی بر پهنه سپهر مجازی‬
                                     ‫- دفتر اول: قلم‬
      ‫- دفتر دوم: قلم پارسی، زبان پارسی، نشر رومیزی‬
 ‫- دفتر سوم: سامانه یونیکد، زبان پارسی و سپهر مجازی‬
‫به اهنر و تکنیک چیدمان نشانهاها‬
                                                      ‌‫ه‬
 Line Spacing                                            ‫تایپوگرافی گفته می شود‬
                        Typography



                                        Face of Type
          Line Length



                           Point Size




"Typography is now something everybody does."
digital typography
printing press
                 desktop publishing




   Font              Typeface
What is font:
Wikipedia: In typography, a font is traditionally defined as a quantity of sorts composing a complete
character set of a single size and style of a particular typeface.
“9-point Bulmer” is called a font, and the “10-point Bulmer”

                                                                                           ‫قلم چیست؟‬
                ‫بطور سنتی، مجموعه ای از نشانه ها با شکل، سبک و اندازه یکسان قلم گفته میشود‬
                   ‌‫ش‬


What is Typeface?
In typography, a typeface is the artistic representation or interpretation of characters



                             Typeface                        Font-family
Typeface anatomy
-------------------------
serif :: Times new roman
Microsoft's version of Times New Roman
licensed from Monotype
Free alternatives:
FreeSerif
Liberation Serif
-----------
Sans-serif :: Arial :: Microsoft
Free alternatives: Liberation Sans is a
metrically equivalent font to Arial
developed by Ascender Corp. and
published by Red Hat in 2007 under the
GPL license with some exceptions
--------
Monospace:: FreeMono
Computer Font:
A computer font (or font) is an electronic data file containing a set of
glyphs, characters, or symbols such as dingbats.
    (‫به داده های الکترونیکی شامل مجموعه ای از گلیف ها، نشانه ها یا علمئم، فونت )قلم‬
                                                           .‫کامپیوتری گفته میشود‬
                                                               ‌‫ش‬
 .‫قلم کامپیوتری حاصل تحقیقات پبسیار یشرفته آزمایشگاههای شرکت های عظیم است‬
                       ‌‫ش‬
Apple : AAT or Apple Advanced Typography
Microsoft: Microsoft Typography
Adobe: Adobe Type
‫گلیف )‪ :(Glyph‬به حالت نمایشی یک نشانه گلیف گفته می شود.‬


 ‫بـ ، ـب ، ـبـ ، ب‬
‫گلیف های ترکیبی )‪ :(Glyph‬به گلیفی که ترکیبی از چند گلیف باشد.‬



           ‫آ، أ، ئ، ...‬
Computer Font Types:
- Raster Fonts (Fast Render, Low Quality)
8, 9, 10, 12, 14, 18, 24, 36, 48, 72, and 96 points
  * Portable Compiled Format (PCF)
Use in Console
Computer Font Types:
- Outline Fonts (Complicated
Render, Very High Quality)

** Glyph based on Bézier curve
p(t) = (1-t)2p0 + 2t(1-t)p1 + t2p2
(a)X2+(b)X+C=0
Format of outline fonts:
Type 1 and Type 3 : .pfb, .pfa : Adobe
      TrueType : .TTF : Apple
OpenType: .OTF : Microsoft & Adobe
TrueType :: .TTF
Developed by Apple Computer, Apple
licensed TrueType to Microsoft
FreeType project of David Turner attempts
to create an independent implementation
of the TrueType standard
- FreeType FreeType is included in many
Linux distributions
OpenType: .OTF
Created by Microsoft and Adobe, built on its predecessor TrueType
1. Accommodates the Unicode character encoding (as well as others), so
that it can support any writing script (or multiple scripts at once).

2. Accommodates up to 65,536 (2^16) glyphs.

3. Advanced typographic "layout" : kerning, Baseline, ligatures

4. Cross-platform font files, which can be used without modification on Mac
OS, Windows and Unix systems.
kerning :
process of adjusting the spacing between characters in
a proportional font
Baseline
‫:‪Typographic ligature‬‬
          ‫ترکیب اجزاء زبان نوشتاری که منجر به ایجاد یک گلیف جدید میشود‬
             ‫ش‌‬


                          ‫ل+ا = ل‬
                         ‫ل+ا ≠ لـا‬
1) Subpixel:


2) Font rasterization:: (Font Render Engine)
Microsoft :: ClearType : subpixel rendering technology
Mac OS X's :: Quartz
PDF documents are usually rendered with Adobe
CoolType.
Most other systems use the FreeType library

2-1) anti-aliasing :: 50% gray

2-2) Font hinting :: remove extra Shadow
Point . Pixel . Em . % ::
1 point = 1⁄72 inches = 25.4⁄72 mm = 0.3527 mm
pixel_size = point_size * resolution(dpi) / 72
Glyph Structure:
** Glyph based on Bézier curve
p(t) = (1-t)2p0 + 2t(1-t)p1 + t2p2
How many points are necessary?
          Base on True Type
The Master grid, Master Outline (EM square):
pixel_size = point_size * resolution / 72 Sample: 12*300/72 = 50px (Size of EM Square)

TrueType fonts use an EM size of 2048 units; Type 1 PostScript fonts have a fixed EM size of 1000
grid units but point coordinates can be expressed as floating values.
Grid units are very often called font units or EM units.
Font Engline
Base on TrueType

How the font engine works
   - The master outline description of the glyph is scaled to the appropriate size.
   - The scaled outline is grid-fitted according to its associated instructions.
   - The grid-fitted outline is scan converted to produce a bitmap image suitable for
raster display.
1. Master Outline -> 2. Scaled Outline -> 3. Grid-fitted Outline -> 4. Raster image
Dropout
A dropout is filled in using a DELTAP instruction
The TrueType Font File:
1. Glyphs (‘glyf’) :: glyph id
2. Character to Glyph Mapping (‘cmap’)
subtables
platform id ,...
3 . Glyph Names (‘post’):
4 . Metrics, Style, Weight, etc. (‘hmtx’, ‘hdmx’, ‘OS/2’, etc.)
hmtx: advance width, left side :: h. In right to left scripts,
glyphs still are described using a left to right coordinate
system.
5 . Kerning (‘kern’)

                            ‫ادیب بهروز‬
                            ‫اسلمی فر‬
Font management software:
Linux desktop environments (such as KDE and Gnome) manage
fonts for applications using their internal framework

Font-Manager
Fontmatrix.org
‫پایان‬

More Related Content

Viewers also liked

Viewers also liked (17)

Htmltag.ppt
Htmltag.pptHtmltag.ppt
Htmltag.ppt
 
Arrays in PHP
Arrays in PHPArrays in PHP
Arrays in PHP
 
Execute MySQL query using command prompt
Execute MySQL query using command promptExecute MySQL query using command prompt
Execute MySQL query using command prompt
 
What's new in PHP 7.1
What's new in PHP 7.1What's new in PHP 7.1
What's new in PHP 7.1
 
PHP Comprehensive Overview
PHP Comprehensive OverviewPHP Comprehensive Overview
PHP Comprehensive Overview
 
PHP
PHPPHP
PHP
 
Form Processing In Php
Form Processing In PhpForm Processing In Php
Form Processing In Php
 
PHP variables
PHP  variablesPHP  variables
PHP variables
 
State management
State managementState management
State management
 
Execute sql query or sql command sql server using command prompt
Execute sql query or sql command sql server using command promptExecute sql query or sql command sql server using command prompt
Execute sql query or sql command sql server using command prompt
 
Php forms
Php formsPhp forms
Php forms
 
Cookie and session
Cookie and sessionCookie and session
Cookie and session
 
Constructors & destructors
Constructors & destructorsConstructors & destructors
Constructors & destructors
 
Cookies and sessions
Cookies and sessionsCookies and sessions
Cookies and sessions
 
MySql slides (ppt)
MySql slides (ppt)MySql slides (ppt)
MySql slides (ppt)
 
Constructor ppt
Constructor pptConstructor ppt
Constructor ppt
 
Php Tutorial
Php TutorialPhp Tutorial
Php Tutorial
 

Similar to Font

C101 – Intro to Programming with C
C101 – Intro to Programming with CC101 – Intro to Programming with C
C101 – Intro to Programming with Cgpsoft_sk
 
Console I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptxConsole I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptxPRASENJITMORE2
 
Unit 1 c - all topics
Unit 1   c - all topicsUnit 1   c - all topics
Unit 1 c - all topicsveningstonk
 
What is turbo c and how it works
What is turbo c and how it worksWhat is turbo c and how it works
What is turbo c and how it worksMark John Lado, MIT
 
Elem of design unit 7 module 2 investigation of fonts
Elem of design unit 7 module 2 investigation of fontsElem of design unit 7 module 2 investigation of fonts
Elem of design unit 7 module 2 investigation of fontskateridrex
 
Chapter 1 1
Chapter 1 1Chapter 1 1
Chapter 1 1bolovv
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programmingRokonuzzaman Rony
 
The Next Mainstream Programming Language: A Game Developer's Perspective
The Next Mainstream Programming Language: A Game Developer's PerspectiveThe Next Mainstream Programming Language: A Game Developer's Perspective
The Next Mainstream Programming Language: A Game Developer's Perspectivekfrdbs
 
Programming introduction
Programming introductionProgramming introduction
Programming introductionExplore Skilled
 
Computer program, computer languages, computer software
Computer program, computer languages, computer softwareComputer program, computer languages, computer software
Computer program, computer languages, computer softwareSweta Kumari Barnwal
 
Common mistakes in C programming
Common mistakes in C programmingCommon mistakes in C programming
Common mistakes in C programmingLarion
 
Lesson 1-3 Fundamentals of Programming.pptx
Lesson 1-3 Fundamentals of Programming.pptxLesson 1-3 Fundamentals of Programming.pptx
Lesson 1-3 Fundamentals of Programming.pptxDysRobles
 

Similar to Font (20)

Wide Open Faces
Wide Open FacesWide Open Faces
Wide Open Faces
 
C101 – Intro to Programming with C
C101 – Intro to Programming with CC101 – Intro to Programming with C
C101 – Intro to Programming with C
 
CD U1-5.pptx
CD U1-5.pptxCD U1-5.pptx
CD U1-5.pptx
 
Console I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptxConsole I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptx
 
Unit 1 c - all topics
Unit 1   c - all topicsUnit 1   c - all topics
Unit 1 c - all topics
 
What is turbo c and how it works
What is turbo c and how it worksWhat is turbo c and how it works
What is turbo c and how it works
 
Elem of design unit 7 module 2 investigation of fonts
Elem of design unit 7 module 2 investigation of fontsElem of design unit 7 module 2 investigation of fonts
Elem of design unit 7 module 2 investigation of fonts
 
Chapter 1 1
Chapter 1 1Chapter 1 1
Chapter 1 1
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
 
C_Intro.ppt
C_Intro.pptC_Intro.ppt
C_Intro.ppt
 
The Next Mainstream Programming Language: A Game Developer's Perspective
The Next Mainstream Programming Language: A Game Developer's PerspectiveThe Next Mainstream Programming Language: A Game Developer's Perspective
The Next Mainstream Programming Language: A Game Developer's Perspective
 
Programming introduction
Programming introductionProgramming introduction
Programming introduction
 
C
CC
C
 
Chap7
Chap7Chap7
Chap7
 
Computer program, computer languages, computer software
Computer program, computer languages, computer softwareComputer program, computer languages, computer software
Computer program, computer languages, computer software
 
Common mistakes in C programming
Common mistakes in C programmingCommon mistakes in C programming
Common mistakes in C programming
 
Unit 2 graphics
Unit 2 graphicsUnit 2 graphics
Unit 2 graphics
 
Lesson 1-3 Fundamentals of Programming.pptx
Lesson 1-3 Fundamentals of Programming.pptxLesson 1-3 Fundamentals of Programming.pptx
Lesson 1-3 Fundamentals of Programming.pptx
 
AS TASKS #8
AS TASKS #8AS TASKS #8
AS TASKS #8
 
LISP.ppt
LISP.pptLISP.ppt
LISP.ppt
 

Recently uploaded

Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyJohn Staveley
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsUXDXConf
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀DianaGray10
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxAbida Shariff
 
Server-Driven User Interface (SDUI) at Priceline
Server-Driven User Interface (SDUI) at PricelineServer-Driven User Interface (SDUI) at Priceline
Server-Driven User Interface (SDUI) at PricelineUXDXConf
 
The architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfThe architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfalexjohnson7307
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationZilliz
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKUXDXConf
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupCatarinaPereira64715
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyUXDXConf
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsPaul Groth
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeCzechDreamin
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfChristopherTHyatt
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...CzechDreamin
 

Recently uploaded (20)

Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Server-Driven User Interface (SDUI) at Priceline
Server-Driven User Interface (SDUI) at PricelineServer-Driven User Interface (SDUI) at Priceline
Server-Driven User Interface (SDUI) at Priceline
 
The architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfThe architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdf
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdf
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 

Font

  • 1.
  • 2. ‫سه گانه زبان و ادب پارسی بر پهنه سپهر مجازی‬ ‫- دفتر اول: قلم‬ ‫- دفتر دوم: قلم پارسی، زبان پارسی، نشر رومیزی‬ ‫- دفتر سوم: سامانه یونیکد، زبان پارسی و سپهر مجازی‬
  • 3. ‫به اهنر و تکنیک چیدمان نشانهاها‬ ‌‫ه‬ Line Spacing ‫تایپوگرافی گفته می شود‬ Typography Face of Type Line Length Point Size "Typography is now something everybody does."
  • 4. digital typography printing press desktop publishing Font Typeface
  • 5. What is font: Wikipedia: In typography, a font is traditionally defined as a quantity of sorts composing a complete character set of a single size and style of a particular typeface. “9-point Bulmer” is called a font, and the “10-point Bulmer” ‫قلم چیست؟‬ ‫بطور سنتی، مجموعه ای از نشانه ها با شکل، سبک و اندازه یکسان قلم گفته میشود‬ ‌‫ش‬ What is Typeface? In typography, a typeface is the artistic representation or interpretation of characters Typeface Font-family
  • 6. Typeface anatomy ------------------------- serif :: Times new roman Microsoft's version of Times New Roman licensed from Monotype Free alternatives: FreeSerif Liberation Serif ----------- Sans-serif :: Arial :: Microsoft Free alternatives: Liberation Sans is a metrically equivalent font to Arial developed by Ascender Corp. and published by Red Hat in 2007 under the GPL license with some exceptions -------- Monospace:: FreeMono
  • 7. Computer Font: A computer font (or font) is an electronic data file containing a set of glyphs, characters, or symbols such as dingbats. (‫به داده های الکترونیکی شامل مجموعه ای از گلیف ها، نشانه ها یا علمئم، فونت )قلم‬ .‫کامپیوتری گفته میشود‬ ‌‫ش‬ .‫قلم کامپیوتری حاصل تحقیقات پبسیار یشرفته آزمایشگاههای شرکت های عظیم است‬ ‌‫ش‬ Apple : AAT or Apple Advanced Typography Microsoft: Microsoft Typography Adobe: Adobe Type
  • 8. ‫گلیف )‪ :(Glyph‬به حالت نمایشی یک نشانه گلیف گفته می شود.‬ ‫بـ ، ـب ، ـبـ ، ب‬ ‫گلیف های ترکیبی )‪ :(Glyph‬به گلیفی که ترکیبی از چند گلیف باشد.‬ ‫آ، أ، ئ، ...‬
  • 9. Computer Font Types: - Raster Fonts (Fast Render, Low Quality) 8, 9, 10, 12, 14, 18, 24, 36, 48, 72, and 96 points * Portable Compiled Format (PCF) Use in Console
  • 10. Computer Font Types: - Outline Fonts (Complicated Render, Very High Quality) ** Glyph based on Bézier curve p(t) = (1-t)2p0 + 2t(1-t)p1 + t2p2 (a)X2+(b)X+C=0
  • 11. Format of outline fonts: Type 1 and Type 3 : .pfb, .pfa : Adobe TrueType : .TTF : Apple OpenType: .OTF : Microsoft & Adobe
  • 12. TrueType :: .TTF Developed by Apple Computer, Apple licensed TrueType to Microsoft FreeType project of David Turner attempts to create an independent implementation of the TrueType standard - FreeType FreeType is included in many Linux distributions
  • 13. OpenType: .OTF Created by Microsoft and Adobe, built on its predecessor TrueType 1. Accommodates the Unicode character encoding (as well as others), so that it can support any writing script (or multiple scripts at once). 2. Accommodates up to 65,536 (2^16) glyphs. 3. Advanced typographic "layout" : kerning, Baseline, ligatures 4. Cross-platform font files, which can be used without modification on Mac OS, Windows and Unix systems.
  • 14. kerning : process of adjusting the spacing between characters in a proportional font
  • 16. ‫:‪Typographic ligature‬‬ ‫ترکیب اجزاء زبان نوشتاری که منجر به ایجاد یک گلیف جدید میشود‬ ‫ش‌‬ ‫ل+ا = ل‬ ‫ل+ا ≠ لـا‬
  • 17. 1) Subpixel: 2) Font rasterization:: (Font Render Engine) Microsoft :: ClearType : subpixel rendering technology Mac OS X's :: Quartz PDF documents are usually rendered with Adobe CoolType. Most other systems use the FreeType library 2-1) anti-aliasing :: 50% gray 2-2) Font hinting :: remove extra Shadow
  • 18. Point . Pixel . Em . % :: 1 point = 1⁄72 inches = 25.4⁄72 mm = 0.3527 mm pixel_size = point_size * resolution(dpi) / 72
  • 19. Glyph Structure: ** Glyph based on Bézier curve p(t) = (1-t)2p0 + 2t(1-t)p1 + t2p2
  • 20. How many points are necessary? Base on True Type
  • 21. The Master grid, Master Outline (EM square): pixel_size = point_size * resolution / 72 Sample: 12*300/72 = 50px (Size of EM Square) TrueType fonts use an EM size of 2048 units; Type 1 PostScript fonts have a fixed EM size of 1000 grid units but point coordinates can be expressed as floating values. Grid units are very often called font units or EM units.
  • 22. Font Engline Base on TrueType How the font engine works - The master outline description of the glyph is scaled to the appropriate size. - The scaled outline is grid-fitted according to its associated instructions. - The grid-fitted outline is scan converted to produce a bitmap image suitable for raster display. 1. Master Outline -> 2. Scaled Outline -> 3. Grid-fitted Outline -> 4. Raster image
  • 23. Dropout A dropout is filled in using a DELTAP instruction
  • 24. The TrueType Font File: 1. Glyphs (‘glyf’) :: glyph id 2. Character to Glyph Mapping (‘cmap’) subtables platform id ,... 3 . Glyph Names (‘post’): 4 . Metrics, Style, Weight, etc. (‘hmtx’, ‘hdmx’, ‘OS/2’, etc.) hmtx: advance width, left side :: h. In right to left scripts, glyphs still are described using a left to right coordinate system. 5 . Kerning (‘kern’) ‫ادیب بهروز‬ ‫اسلمی فر‬
  • 25. Font management software: Linux desktop environments (such as KDE and Gnome) manage fonts for applications using their internal framework Font-Manager Fontmatrix.org