The Apple Font Tool Suite

Total Page:16

File Type:pdf, Size:1020Kb

The Apple Font Tool Suite The Apple Font Tool Suite This document is copyright © 2002 by Apple Computer, Inc. All rights reserved. Table of Contents Table of Contents........................................................................................................................i Introduction...............................................................................................................................v Installing the tools.................................................................................................................vi Words of warning .................................................................................................................vi Using the tools ......................................................................................................................vi ftxanalyzer .................................................................................................................................1 Typical uses for ftxanalyzer ...................................................................................................3 ftxdiff .........................................................................................................................................5 ftxdumperfuser ..........................................................................................................................7 ftxenhancer ..............................................................................................................................11 ftxinstalledfonts........................................................................................................................13 ftxruler .....................................................................................................................................15 ftxvalidator...............................................................................................................................19 How to Use Add Lists .............................................................................................................23 Introduction .........................................................................................................................23 Creating an Add List............................................................................................................23 The first line.........................................................................................................................23 The component line(s) .........................................................................................................24 Some examples.....................................................................................................................26 Roman numerals ..................................................................................................................27 Accented glyphs ...................................................................................................................27 More extreme examples .......................................................................................................28 About Morph Input Files.........................................................................................................29 Introduction .........................................................................................................................29 i A Quick Review of AAT Metamorphosis Effects................................................................29 A First Example...................................................................................................................30 Some general MIF rules.......................................................................................................31 MIF Format—Headers........................................................................................................32 MIF Format—Noncontextual .............................................................................................33 MIF Format—Ligature List ................................................................................................33 MIF Format—State Tables .................................................................................................34 The class list.........................................................................................................................34 The state array .....................................................................................................................35 The action list.......................................................................................................................35 MIF Format—Contextual ...................................................................................................36 Another example..................................................................................................................37 MIF Format—Insertion.......................................................................................................39 MIF Format—Rearrangement ............................................................................................40 Using Justification Input Files ................................................................................................41 Introduction .........................................................................................................................41 How AAT Justification Works............................................................................................41 The Factor Phase .................................................................................................................42 The Assignment Phase .........................................................................................................42 The Postcomp Phase............................................................................................................43 The Justification Class.........................................................................................................43 Overall JIF Format .............................................................................................................43 The Header ..........................................................................................................................44 The “Factors” table part.......................................................................................................45 The “Classes” table part .......................................................................................................45 ii The “Postcomp” table part ...................................................................................................46 Ligature Decomposition actions ..........................................................................................47 Unconditional Add actions...................................................................................................47 Conditional Add actions.......................................................................................................47 Stretch actions......................................................................................................................48 Ductility actions...................................................................................................................48 Some Examples....................................................................................................................49 Simple Latin, no intercharacter spacing...............................................................................49 Adding intercharacter spacing .............................................................................................50 iii Introduction Apple’s font tool suite consists of the following tools: • ftxanalyzer • ftxdiff • ftxdumperfuser • ftxenhancer • ftxinstalledfonts • ftxruler • ftxvalidator The tools require that the following framework be installed as well: • FTX.framework These tools encompass most of the key functionality of our older font tools and considerable new functionality. We hope to be able to provide fuller functionality as time progresses. Unlike our older tools, the new tools are all command-line tools. This means that one typically runs them from within the Terminal application and not by double-clicking on them. There are a number of advantages to this: 1) Command-line utilities are faster to launch and run. 2) Command-line utilities can have options specified when they’re launched, rather than by manipulating menus after launch. 3) Command-line utilities can be executed from within scripts. Suppose, for example, that I want to examine the ‘cmap’ table of a font called MyFont, which is found in the file MyFont.suit in my Documents folder. I would do the following after launching Terminal: cd ~/Documents ftxdumperfuser -t cmap -pu -A d MyFont.suit When done, a file named MyFont.cmap.xml will be in my Documents folder, which I can then examine and edit. As the file’s name implies, the new font tool suite, as much as possible, uses XML as a document format. This, too, has advantages: 1) XML files are text-based and can be edited by a large number of existing applications. They can be checked into source repositories such as CVS. 2) XML files have well-defined mechanisms for such things as representing non-ASCII text v (needed in the ‘name’ table), comments, and so on. 3) Using XML allows us to coordinate with other people on producing standard file types and formats for font-related data.
Recommended publications
  • Applying Arabic Kashida to Latin Letters in Display Typography
    Applying Arabic Kashida to Latin Letters in Display Typography Antoine Abi Aad Ph.D., Lecturer - Coordinator, Advertising and Graphic Design, Académie Libanaise des Beaux- Arts, UOB, Lebanon [email protected] Abstract-Arabic, like Hebrew, is a script that was Syriac scripts were developed from Aramaic. Figure extensively used visually because of religious 2 represents one sentence written in Syriac and in 5 purposes. In Islam, as in Judaism, the visual Arabic . The similarities between the two scripts are representation of saints, prophets and holy people is evident. not allowed. However, the desire and the passion to create images were stronger than the fear of blasphemy. Figure 1 has three word-pictures: the first is a Masoretic illustrated text written in Hebrew1 and the other two are animals drawn with Arabic letters: the bird is written in Turkish2 while the tiger is Figure 2. Syriac and Arabic letters written in Persian3. The Kashida replaces the letter space used with Latin letters. Furthermore, it improves the appearance of justified text by visually lengthening words rather than increasing the blank between the letters. Interestingly, the Kashida can be stretched unevenly in one word, serving aesthetics needs. Figure 1. Words as image Today, people using Arabic letters are linked to many centuries of visual words, a heritage that can be transformed into display typography. It is pointless to keep reminiscing on the splendors of great eras. Artists and designers should rather look inward yet forward and produce new visuals. This paper explores display typography through the kashida, the soul of Arabic writing. Applied to Latin letters, the Figure 3.
    [Show full text]
  • The Transformation of Calligraphy from Spirituality to Materialism in Contemporary Saudi Arabian Mosques
    The Transformation of Calligraphy from Spirituality to Materialism in Contemporary Saudi Arabian Mosques A dissertation submitted to Birmingham City University in fulfilment of the requirement for the degree of Doctor of Philosophy in Art and Design By: Ahmad Saleh A. Almontasheri Director of the study: Professor Mohsen Aboutorabi 2017 1 Dedication My great mother, your constant wishes and prayers were accepted. Sadly, you will not hear of this success. Happily, you are always in the scene; in the depth of my heart. May Allah have mercy on your soul. Your faithful son: Ahmad 2 Acknowledgments I especially would like to express my appreciation of my supervisors, the director of this study, Professor Mohsen Aboutorabi, and the second supervisor Dr. Mohsen Keiany. As mentors, you have been invaluable to me. I would like to extend my gratitude to you all for encouraging me to conduct this research and give your valuable time, recommendations and support. The advice you have given me, both in my research and personal life, has been priceless. I am also thankful to the external and internal examiners for their acceptance and for their feedback, which made my defence a truly enjoyable moment, and also for their comments and suggestions. Prayers and wishes would go to the soul of my great mother, Fatimah Almontasheri, and my brother, Abdul Rahman, who were the first supporters from the outset of my study. May Allah have mercy on them. I would like to extend my thanks to my teachers Saad Saleh Almontasheri and Sulaiman Yahya Alhifdhi who supported me financially and emotionally during the research.
    [Show full text]
  • Richard Ishida 2
    Richard Ishida 2 The Internaonalizaon Working Group at the W3C is involved in reviewing specificaons for internaonalizaon issues – specificaons from inside and outside W3C. It also creates resources for content authors, specificaon developers and others related to internaonalizaon features of the Open Web Plaorm, including educaonal ar0cles, tests, etc. This presentaon will focus on one addi0onal area that has been gathering pace recently – the development of documents that describe text layout requirements for a given language or script. We will start by giving a brief outline of a couple of issues that illustrate the need for these documents. 3 The CSS3 Text module (hNp://www.w3.org/TR/css3-text/) will specify how to apply internaonal typographic effects to web pages. One example is text jus0ficaon, which produces straight lines down both the leU and right margins. Richard Ishida 4 Let's suppose that we want to jus0fy this Arabic text, so that there are straight lines at both leU and right margins. Generally speaking, received wisdom says that Arabic does this by stretching the baseline inside words, rather than stretching the inter-word spacing (as would be the case in English text). Richard Ishida 5 To make it simple, lets just focus on these two lines. Richard Ishida 6 One way you may hear that this can be done is by using a special baseline extension character in Unicode, U+0640 ARABIC TATWEEL. The slide shows some Arabic text from a newspaper where we have jus0fied the first two lines using tatweels in exactly the same way it was done in the newspaper.
    [Show full text]
  • New Features in Mpdf V6.0
    NewNew FeaturesFeatures inin mPDFmPDF v6.0v6.0 Advanced Typography Many TrueType fonts contain OpenType Layout (OTL) tables. These Advanced Typographic tables contain additional information that extend the capabilities of the fonts to support high-quality international typography: ● OTL fonts support ligatures, positional forms, alternates, and other substitutions. ● OTL fonts include information to support features for two-dimensional positioning and glyph attachment. ● OTL fonts contain explicit script and language information, so a text-processing application can adjust its behavior accordingly. mPDF 6 introduces the power and flexibility of the OpenType Layout font model into PDF. mPDF 6 supports GSUB, GPOS and GDEF tables for now. mPDF 6 does not support BASE and JSTF at present. Other mPDF 6 features to enhance complex scripts: ● improved Bidirectional (Bidi) algorithm for right-to-left (RTL) text ● support for Kashida for justification of arabic scripts ● partial support for CSS3 optional font features e.g. font-feature-settings, font-variant ● improved "autofont" capability to select fonts automatically for any script ● support for CSS :lang selector ● dictionary-based line-breaking for Lao, Thai and Khmer (U+200B is also supported) ● separate algorithm for Tibetan line-breaking Note: There are other smart-font technologies around to deal with complex scripts, namely Graphite fonts (SIL International) and Apple Advanced Typography (AAT by Apple/Mac). mPDF 6 does not support these. What can OTL Fonts do? Support for OTL fonts allows the faithful display of almost all complex scripts: (ܐSyriac ( ,(שלום) Hebrew ,(اﻟﺴﻼم ﻋﻠﻴﻢ) Arabic ● ● Indic - Bengali (ামািলকুম), Devanagari (नमते), Gujarati (નમતે), Punjabi (ਸਿਤ ਸੀ ਅਕਾਲ), Kannada ( ), Malayalam (നമെ), Oriya (ନମସ୍କର), Tamil (வணக்கம்), Telugu ( ) ನಮ ជប​សួរំ నమరం ● Sinhala (ආයුෙඛා්වන්), Thai (สวัสดี), Lao (ສະບາຍດີ), Khmer ( ), Myanmar (မဂလပၝ), Tibetan (བ་ས་བ་གས།) Joining and Reordering র + ◌্ + খ + ◌্ + ম + ◌্ + ক + ◌্ + ষ + ◌্ + র + ি◌ + ◌ু = িু cf.
    [Show full text]
  • Digital Quran Computing: Review, Classification, and Trend Analysis
    Arab J Sci Eng DOI 10.1007/s13369-017-2415-4 REVIEW ARTICLE - COMPUTER ENGINEERING AND COMPUTER SCIENCE Digital Quran Computing: Review, Classification, and Trend Analysis Mohammed Zakariah1 · Muhammad Khurram Khan2 · Omar Tayan3,4 · Khaled Salah5 Received: 18 July 2016 / Accepted: 9 January 2017 © King Fahd University of Petroleum & Minerals 2017 Abstract The proliferation of online digital multimedia categorization based on the topical trends from recent con- content has enabled the rapid digitization of printed ferences and symposia related to DQC. Second, a review is manuscripts, resulting in faster and more effective dissem- given for papers under each theme with a discussion of their ination of digital publications. This scenario is also found key features, limitations, and research directions. Finally, a in the context of digital Quran content, which has recently number of research hot spots that identify open challenges gained significant traction from the research and scientific and primary areas in DQC for future work are outlined. communities with related discussions and studies covering a range of IT subject domains under the generic topic of Digital Keywords Holy Quran · Digital Quran Computing · Quran Computing (DQC). In the past few years, a number of Multimedia · Arabic digitization · Mobile applications · international conferences and symposia have been dedicated WorldWideWeb to the concept of DQC. This paper surveys and reports on the developmental trends and research hotspots in DQC, provid- ing up-to-date theme categories and an analysis of published 1 Introduction articles in the literature. First, the study provides a theme The Holy Quran is the book of divine guidance and direc- B Khaled Salah tion for humanity.
    [Show full text]
  • Arabic Typesetting Using a METAFONT-Based Dynamic Font
    Arabic typesetting using a METAFONT-based dynamic font Amine Anane [email protected] TUG 2019 - Palo Alto, California, USA August 9-11, 2019 How the project started ? I cannot find a searchable pdf document of the Quran. PDF documents are raster images of hand-written book : cannot be searchable. big size. blurry image due to pixelation Other formats (Office Word, HTML [http://tanzil.net]) : based on Unicode text file + OpenType Font. 1 OpenType Font vs Handwritten text Much smaller font size to accommodate the widest line Increase in interword space for other lines 2 Objective Typeset an electronic copy of the Medina Mus’haf (book) re- specting calligraphic rules and having the same Font size, page number and line Why Medina book ? Quranic book is a reference in Arabic calligraphy Written by one of the most renowned Arabic calligrapher beautiful, clear, easy-to-read style each page finishes by a verse and each section (30 sections) in 20pages (15 lines each) Justification is applied extensively If objective is reached, we should reach ultimate goal : High-quality Arabic → typesetter fulfilling Arabic calligraphic rules 3 Where to start? Existing systems and technology for typesetting Arabic text Font standards such as OpenType and Apple Advanced Typography Advantage : Availability of tools Disadvantage : justification does not conform to Arabic calligraphy such as horizontal stretching using Kashida (Tatweel) ditroff/ffortid system Advantage : based on dynamic PostScript fonts Disadvantage : does not model the way stretching is done
    [Show full text]
  • Arabic Type Classification System
    ARABIC TYPE CLASSIFICATION SYSTEM QUALITATIVE CLASSIFICATION OF HISTORIC ARABIC WRITING SCRIPTS IN THE CONTEMPORARY TYPOGRAPHIC CONTEXT BY DARIN ABU-SHAQRA | INCLUSIVE DESIGN | 2020 SUBMITTED TO OCAD UNIVERSITY IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER OF DESIGN IN INCLUSIVE DESIGN TORONTO, ONTARIO, CANADA, 2020 i ACKNOWLEDGEMENTS I wish to express my sincere appreciation to both my primary advisor Richard Hunt, and secondary advisor Peter Coppin, your unlimited positivity, guidance and support was crucial to the comple- tion of this work. It was an absolute honour to have two geniuses in their fields as my advisors. Enriching my knowledge of typography and graphic design and looking through the lens of inclusive design and cognitive science of representation shaped a new respect for the cultural and experiential power of typography in me. My sincere gratitude goes to the talented calligraphers and graphic designers whom I have interviewed back in Jordan. Thank you, for your valuable time, and for allowing me to watch the world from different angles, and experiences. This project owes a lot to your motivation. My heartfelt thanks goes to my family - my late father Khalid, who, although is no longer with me, continues to inspire every step I have to take, my mother Nadia for being the symbol of strength and persistence, my siblings Yasmin, Omar, Ali and Abdullah for always believing in my dreams and doing whatever it takes to make them come true. A special thanks goes to the one who made those two years possible, Ra’ad thank you for being the definition of a life companion and a husband.
    [Show full text]
  • P a G E | 1 Expressions of Arabic Calligraphy in Arabic Typography
    P a g e | 1 Expressions of Arabic Calligraphy in Arabic Typography for a Cultural Identity of the Visual Arabic Script Aysha Khalid Mahmood Doctoral Researcher Arabic Typography and Visual Culture Nottingham Trent University www.ashkdesign.wordpress.com [email protected] Abstract - The aim of this paper is to discuss the visual further comments that typography is the embodiment of a cultural expressions filtering between Arabic calligraphy and cultures identity. When it comes to cultural identity of the Arabic typography by visually exploring the landscape of the Arabs, Arabic calligraphy has, and continues to represent a two in Qatar, and compares the effects the modernising social strong Arab and Islamic identity. and economic culture is having on the transition between the Arabic typefaces in production have generated criticism from two. Qatar is a distinctive example of an Arab country focusing design industry professionals on their creativity disapproving to define national and cultural identity through challenging that they are either too westernised or too close to the creative accomplishments of the Arab world including calligraphic tradition. One explanation however becomes introducing new visual typographic trends to boost its lead in apparent as research progresses, and that is the lack of the Arab world economy and culture to claim itself as “Brand structural system for designing Arabic typefaces has a lot to Qatar”. learn from the calligraphic systems, however not in their Arabic calligraphy has maintained itself as a timeless craft form purest principals as calligraphic structures, as they are with a subjective relationship to the Arab culture and the outdated to be compatible for contemporary technical Islamic heritage.
    [Show full text]
  • The Unicode Standard, Version 3.0, Issued by the Unicode Consor- Tium and Published by Addison-Wesley
    The Unicode Standard Version 3.0 The Unicode Consortium ADDISON–WESLEY An Imprint of Addison Wesley Longman, Inc. Reading, Massachusetts · Harlow, England · Menlo Park, California Berkeley, California · Don Mills, Ontario · Sydney Bonn · Amsterdam · Tokyo · Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Addison-Wesley was aware of a trademark claim, the designations have been printed in initial capital letters. However, not all words in initial capital letters are trademark designations. The authors and publisher have taken care in preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. The Unicode Character Database and other files are provided as-is by Unicode®, Inc. No claims are made as to fitness for any particular purpose. No warranties of any kind are expressed or implied. The recipient agrees to determine applicability of information provided. If these files have been purchased on computer-readable media, the sole remedy for any claim will be exchange of defective media within ninety days of receipt. Dai Kan-Wa Jiten used as the source of reference Kanji codes was written by Tetsuji Morohashi and published by Taishukan Shoten. ISBN 0-201-61633-5 Copyright © 1991-2000 by Unicode, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or other- wise, without the prior written permission of the publisher or Unicode, Inc.
    [Show full text]
  • Fonts & Encodings
    Fonts & Encodings Yannis Haralambous To cite this version: Yannis Haralambous. Fonts & Encodings. O’Reilly, 2007, 978-0-596-10242-5. hal-02112942 HAL Id: hal-02112942 https://hal.archives-ouvertes.fr/hal-02112942 Submitted on 27 Apr 2019 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. ,title.25934 Page iii Friday, September 7, 2007 10:44 AM Fonts & Encodings Yannis Haralambous Translated by P. Scott Horne Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo ,copyright.24847 Page iv Friday, September 7, 2007 10:32 AM Fonts & Encodings by Yannis Haralambous Copyright © 2007 O’Reilly Media, Inc. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Printing History: September 2007: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Fonts & Encodings, the image of an axis deer, and related trade dress are trademarks of O’Reilly Media, Inc.
    [Show full text]
  • Arabic E-Reading: Studies on Legibility and Readability for Personal Digital Assistants
    Arabic E-Reading: Studies on Legibility and Readability for Personal Digital Assistants Mrouj Almuhajri A Thesis in the Department of Computer Science and Software Engineering Presented in Partial Fulfillment of the Requirements For the Degree of Master of Computer Science Concordia University Montr´eal, Qu´ebec, Canada December 2013 ©Mrouj Almuhajri, 2013 CONCORDIA UNIVERSITY School of Graduate Studies This is to certify that the thesis prepared By: Mrouj Mohammad Almuhajri Entitled: Arabic E-Reading: Studies on Legibility and Readability for Personal Digital Assistants and submitted in partial fulfillment of the requirements for the degree of Master of Computer Science complies with the regulations of the University and meets the accepted standards with respect to originality and quality. Signed by the final examining committee: ______________________________________Dr. O. Ormandjieva Chair ______________________________________Dr. T. Kasvand Examiner ______________________________________Dr. N, Tsantalis Examiner ______________________________________ Dr. C. Y. Suen Supervisor Approved by ________________________________________________ Chair of Department or Graduate Program Director ________________________________________________ Dean of Faculty Date ________________________________________________December 16, 2013 Arabic E-Reading: Studies on Legibility and Readability for Personal Digital Assistants Mrouj Almuhajri Concordia University, 2013 Abstract Electronic reading opens new avenues especially with the advance of modern reading devices. The new generation of Personal Digital Assistants PDAs becomes more popular and more affordable. Therefore, while displays keep shrinking in size, it is needed to re-evaluate typefaces used in these devices as they form a substantial component in the reading field. In this research, a survey was conducted to identify Arab community preferences of 13 selected fonts on PDAs. Also, it inferred the popularity of using these devices for reading.
    [Show full text]
  • Library Registration Date Base6
    Library Registration Date Base6 موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 0 موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 1 Tariku Hunan HW.Johnson Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 2 Hunar Dar Gozar Zaman Gardner Helen Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 3 Mirror of Sight Farhangistan Honar Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 4 Honar dar Asiay Markazi Galina Poga Khepakow Akbar Khaki Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 5 Shah Kar Hai Honar Iran Arthur Upam Pope Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 6 Jalwa Hai Honar Farsi Fransis Reshar Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 7 Boi Joi Mulian S.Moh.Mosa Hashimi Gul Paya Ghani Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 8 Honar wa Memari Islami Dar Iran Bloom Janathan M Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 9 Selected Precius Rugs of Dafineh Ministry of Islamic Culture IRI Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 10 Negahi Ba Honar Naqashi Iran Dr Akbar Jawadi Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 11 Ashnay Ba Honar Hai Sonati Hussain Yawary Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 12 Afghanistan Simonnorfolk W.B.Yeats Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 13 OUMMA Michael Berry Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 14 The Arts and Crafts of the Swat Valley Johannes Kalter Art موضوع:Subject مولف -لیکوال-:Author عنوان:ID: Title 15 Palace and Mosque Tim Stanley
    [Show full text]