![]() 1 In 2015, Davis said, “The vast majority of the world’s living languages, close to 98 percent, are ‘digitally disadvantaged’-meaning they are not supported on the most popular devices, operating systems, browsers and mobile applications” (Unicode, 2015, n.p.). The term originates with Mark Davis, president and co-founder of the Unicode Consortium, a nonprofit that maintains and publishes the Unicode Standard. This term captures the acutely uneven digital playing field for speakers of the world’s 7000+ languages. Now saving the font as a new font results in the required subset.This article belongs to the Glossary of decentralised technosocial systems, a special section of Internet Policy Review.ĭigitally-disadvantaged languages face multiple inequities in the digital sphere including gaps in digital support that obstruct access for speakers, poorly-designed digital tools that negatively affect the integrity of languages and writing systems, and unique vulnerabilities to surveillance harms for speaker communities. now we can run in main menu "Encoding -> Detach and Remove glyphs" to remove all the selected (unused) glyphs. In the main menu hit "Edit -> Select -> Invert Selection" to have all the unused glyphs selected. Now all the used glyphs are selected, all unused glyphs are deselected. " from the main menu, paste the script and hit run. To execute a script right from within Fontforge select "file -> execute script. (Link to fontforge scripting help, see below). Note also, that this script assumes that fontforge is running and has the font file opened. This function selects the glyph that gets passed as the argument without clearing any previous selection. It's just repeatedly calling the same function: SelectMore(). I took the output of the service and used Notepad++'s "search and replace" functionality to get the following structure for a script: SelectMore("uc6d0") ![]() I used an internet service (see link below) to get the unicodes of all the characters that I use in my book. The key was to use Fontforge's scripting capabilities. I have found a way to create a subset of an existing font in FontForge on a semi-automated basis. I hope now it's clear why I think subsetting the font is a good solution. I already compressed the image files heavily and cannot go any further with compression as the quality starts suffering at certain compression rates. Not filling up the storage of the user's reading device unneccessarily is another consideration here. Knowing that the text of an ebook is not altered by the reader it is safe to discard all the glyphs from the font that are not used in my text. Again, my overall book filesize limit is 3 megabytes which has to do for all the pictures and the font files (plus the layout and meta files). storing 20.000 (in extreme cases up to 200.000) glyphs makes for ~ 7-12 megabytes per font weight. Asian font files are comparatively huge due to the nature of their alphabets / glyphs. But my ebooks are bilingual and for the Korean edition I need to add a Korean font (in addition to the western font). ![]() That is ok when I use a western font set. In order for a book to be sold for the certain price range that I'm going for, the file size must not exceed 3 megabytes. The Amazon Kindle publishing program has very strict file size restrictions. The ebook files (I am producing mainly for amazon kindle) consist of some meta data, the image files, layout information and of course the font files. The text, however, is not part of the pictures but is displayed on an additional layer that is displayed in foreground of the pictures. Use case: I am creating children's ebooks which by their nature consist mainly of images. In fontforge there are certain selection options (Main Menu > Edit > Selection), and I tried "Select by Wildcarcds" after converting the korean characters into their unicode sequences. The actual text is longer than this, so searching manually in fontforge is not an option. So how can I delete all the other characters from the font file that are not part of that small text sample? In the end I want to end up with a new TTF file that contains only the used characters. Here's a small example: There is a text file that contains the words "사슴 (If you know a free tool other than fontforge that can do it, that works too for me). How can I delete all characters from a TTF font file that are not used in a given text sample with Fontforge? In other words I want to create a subset from an existing font which contains only the characters that actually show in my text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |