Slug User Manual

Total Page:16

File Type:pdf, Size:1020Kb

Slug User Manual Slug User Manual Version 6.0 Terathon Soware LLC Lincoln, California Slug User Manual Version 6.0 Copyright © 2017–2021, by Terathon Soware LLC All rights reserved. No part of this publication may be reproduced, stored in an information retrieval system, transmitted, or utilized in any form, electronic or mechanical, including photocopying, scanning, digitizing, or recording, without the prior permission of the copyright owner. Published by Terathon Soware LLC terathon.com Contents Contents ................................................................................................................................................ 3 Slug Library Overview ........................................................................................................................ 9 Typography .......................................................................................................................................... 11 2.1. Glyphs ....................................................................................................................................... 11 2.2. Metrics ..................................................................................................................................... 12 2.3. Kerning .................................................................................................................................... 14 2.4. Combining Marks .................................................................................................................... 15 2.5. Sequence Replacement ............................................................................................................ 16 2.6. Alternate Substitution .............................................................................................................. 17 2.7. Transform-Based Scripts .......................................................................................................... 23 2.8. Underline and Strikethrough .................................................................................................... 24 2.9. Bidirectional Text Layout ........................................................................................................ 24 2.10. Paragraph Attributes ............................................................................................................... 25 2.11. Grid Positioning ..................................................................................................................... 25 Rendering ........................................................................................................................................... 27 3.1. Font and Album Resources ...................................................................................................... 27 3.2. Building a Slug ........................................................................................................................ 32 3.3. Multi-Line Text ........................................................................................................................ 34 3.4. Custom Glyph Layout .............................................................................................................. 35 3.5. Multiple Fonts .......................................................................................................................... 36 3.6. Text Colors ............................................................................................................................... 39 3.7. Color Glyph Layers .................................................................................................................. 39 3.8. Optical Weight ......................................................................................................................... 39 3 4 Contents 3.9. Adaptive Supersampling .......................................................................................................... 40 3.10. Clipping .................................................................................................................................. 40 3.11. Effects ..................................................................................................................................... 40 3.12. Icons and Pictures ................................................................................................................... 41 3.13. Bounding Polygons ................................................................................................................ 41 3.14. Optimization ........................................................................................................................... 42 Programming Reference .................................................................................................................... 45 AlbumHeader structure .................................................................................................................... 46 AssembleSlug() function .................................................................................................................. 48 AssembleSlugEx() function .............................................................................................................. 50 BreakMultiLineText() function ........................................................................................................ 52 BreakMultiLineTextEx() function .................................................................................................... 56 BreakSlug() function ........................................................................................................................ 59 BreakSlugEx() function .................................................................................................................... 63 BuildMultiLineText() function ......................................................................................................... 66 BuildMultiLineTextEx() function ..................................................................................................... 70 BuildIcon() function ......................................................................................................................... 73 BuildPicture() function ..................................................................................................................... 75 BuildSlug() function ......................................................................................................................... 77 BuildSlugEx() function .................................................................................................................... 80 BuildTruncatableSlug() function ...................................................................................................... 82 BuildTruncatableSlugEx() function.................................................................................................. 84 CalculateTextLength() function ........................................................................................................ 86 CalculateTextLengthEx() function ................................................................................................... 88 CharacterData structure .................................................................................................................... 90 ColorData structure .......................................................................................................................... 91 CountFill() function .......................................................................................................................... 92 CountIcon() function ........................................................................................................................ 95 CountMultiLineText() function ........................................................................................................ 97 CountMultiLineTextEx() function .................................................................................................. 100 CountPicture() function .................................................................................................................. 102 Contents 5 CountSlug() function ..................................................................................................................... 104 CountSlugEx() function ................................................................................................................. 106 CountStroke() function .................................................................................................................. 108 CreateData structure ........................................................................................................................ 110 CreateFill() function ........................................................................................................................ 111 CreateStroke() function ................................................................................................................... 113 ExtendedGlyphData structure ......................................................................................................... 115 ExtractAlbumTextures() function ................................................................................................... 116 ExtractFontTextures() function ....................................................................................................... 117 ExtractWorkspace structure ...........................................................................................................
Recommended publications
  • Art, Philosophy, and the Philosophy Of
    NATIONAL E N D O W M E N T FOR THE HUMANITIES VOLUME 4 NUMBER 1 FEBRUARY 1983 Humanities Art, Philosophy, and the Philosophy of Art period of Abstract Expressionism, ward behavior might be indistin­ when decisions for or against The guishable between the two. In all these Image were fraught with an almost cases one must seek the differences religious agony, the crass and casual outside the juxtaposed and puzzling use of tacky images by the new examples, and this is no less the case artists seemed irreverent and juve­ when seeking to account for the dif­ nile. But the Warhol show raised a ferences between works of art and question which was intoxicating and mere real things which happen immediately philosophical, namely exactly to resemble them. why were his boxes works of art This problem could have been while the almost indistinguishable raised at any time, and not just with utilitarian cartons were merely con­ the somewhat minimal sorts of tainers for soap pads? Certainly the works one might suspect the Brillo minor observable differences could Boxes to be. It was always conceiva­ not ground as grand a distinction as ble that exact counterparts to the that between Art and Reality! most prized and revered works of BY ARTHUR C. DANTO A philosophical question arises art could have come about in ways Not very many years ago, whenever we have two objects inconsistent with their being works aesthetics—understood as the phi­ which seem in every relevant par­ at all, though no observable differ­ losophy of art—was regarded as the ticular to be alike, but which belong ences could be found.
    [Show full text]
  • Supplementary Guide to UEB Reference Materials V.8.31.16
    Supplementary Guide to UEB Reference Materials v.8.31.16 Unless otherwise indicated, page numbers refer to The Rules of Unified English Braille, 2013 For referenced BANA Guidances visit: www.brailleauthority.org * indicates definition of entry word A @ sign, 25 Caret, 24, 42 Abbreviations, 106, 152 Cent Sign ¢, 26 Accented letters, 42, 190 Chemistry, 89, 178, see BANA Guidance capitals, 80 Code switching, 199-210 in fully capped words, 89 how to use, 202-203 Acronyms, 106, 152 indicators Addition foreign language, 191-192, 195 non-technical materials, 31 IPA, 199, 207-208 technical materials, 169 music, 199, 208-209 Alphabetic wordsign, *7, 9, 15, 103-106, Nemeth code, 199, 209-210 164 non-UEB, 199, 203-208 Ampersand &, 21 Coinage, 26, 64 Anglicized words, 45, 158, 186, 189 Colored type, 11, 97 Apostrophe, 18, 69, 105, 107 Comma, 69 Arrows, 21, 174 numeric mode, 59 line mode, 219 Comparison, signs of, 169,31 Asterisk, 21 Compound words, bridging, 146 At sign @, 25 Computer material contractions in, 155 B email addresses, 155 Blank to be filled in, 73, 160 grade 1 indicators, 52 Boldface indicators, 91 Computer notation, 178 Brackets, opening and closing, 69, 78 Contracted (grade 2) braille, *7, 14 Braille grouping indicators, 23, 45, 172 usage cross-referenced, 14 Braille order, list of symbols, 275 Contractions summary, 9 Bullet, 24, 34, 37 Contractions, *7, 9, 103-168 abbreviations, 152 C acronyms, 152 Capitalization, 79-90 alphabetic wordsigns, *7, 9, 15, 103-106, grade 1, 55 164 indicators bridging, 146-152 choice of, 87 aspirated
    [Show full text]
  • Ordinance No. 04-61
    .. 200500022607 BEST POSSIBLE IMAGE Filed for Record in HAMILTON COUNTY, INDIANA ALL PAGES JENNIFER J HAYDEN 0~-18-2OQ5 At 12'~7 >•• ORDINANCE 101.00 I ORDINANCE NO. 04-61 , AN ORDINANCE OF THE TOWN OF WESTFIELD CONCERNING AMENDMENT TO TITLE 16- LAND USE CONTROLS WHEREAS, The Town ofWeslfield, Indiana and the Township of Washington, both of Hamilton County, Indiana are subject to the Westfield Washington Township Zoning Ordinance; and WHEREAS, the Westfield-Washington Township Plan Commission ("Commission") considered a petition (docket 0310-PUD-06) filed with the Commission to rezone certain lands; and WHEREAS, the Westfield Washington Township Plan Commission did take action to forward the request to the Westfield town Council with a negative recommendation under the provision onc 36-7-4-605; and WHEREAS, the Secretary of the Commission certified the action of the commission to the Town Council on January 27, 2004; and WHEREAS, the Weslfield Town Council is subject to the provisions onc 36-7-4-608(t) or IC36-7-4-608(g) concerning any action on requests forwarded by the Advisory Plan Commission. NOW THEREFORE BE IT ORDAINED BY THE WESTFIELD TOWN COUNCIL THAT TITLE 16 OF THE WESTFIELD CODE OF ORDINANCE BE AMENDED AS FOLLOWS: SECTION 1. WC-16-04.Zoningmaps amended as follows: The Zoning Map accompanying and made a part of the Zoning Ordinance is amended to reclassifY the real estate described in the attachment "West Oak Planned Unit Development" hereto (Real Estate) wm EI to EI-PUD This real estate being subject to commitments and standards as detailed in the attachment "Westoak Industrial Park Planned unit Development District" 4/612004 Ordinance 04-01 SECTION 2.
    [Show full text]
  • Photoshop Typography: Elements of the Character Panel
    PHOTOSHOP TYPOGRAPHY: ELEMENTS OF THE CHARACTER PANEL Learn how to utilize Photoshop typography to create stunning images by effectively pairing text and photos together. Many Photoshop users don’t have access to other programs that allow them to combine type with images, such as Adobe InDesign. Adobe knows that many people use Photoshop to create text-and-image documents, and has expanded the type tools available to Photoshop users. In light of this, I’ve started the “Photoshop Typography” series to help you make your type in Photoshop look professional. THE CHARACTER PANEL IN PHOTOSHOP Open Character panel by going to Type Menu → Panels → Type Panel. You can also type Cmd/Ctrl-T to open the window. All sorts of type choices and options become available to you through this window. It’s time to go exploring. I’ve numbered various areas to draw your attention. #1 – Select A Font Pick the font you want by clicking on the name of the font at the top left of the panel – the screenshot is currently showing Helvetica Neue. Click on the downward pointing arrow at the right of the box to see the whole menu of fonts currently available, or put your cursor at the front the field and type the first few letters of the font name you want. Photoshop will automatically display the font you type from the first few letters. By the way, if you have a font you want to install and use, you can install it at any time, and do not have to restart Photoshop to use the newly installed font.
    [Show full text]
  • Word 2010 Basics I
    Microsoft Word Fonts [email protected] Microsoft Word Fonts 1.0 hours Format Font ............................................................................................. 3 Font Dialog Box ........................................................................................ 4 Effects ................................................................................................ 4 Set as Default… .................................................................................. 4 Text Effects .............................................................................................. 5 Format Text Effects Pane ................................................................... 6 Typography .............................................................................................. 7 Advanced Font Features .......................................................................... 8 Drop Cap ................................................................................................. 8 Symbols .................................................................................................... 9 Class Exercise ......................................................................................... 10 Exercise 1: Simple Font Formatting ................................................. 10 Exercise 2: Advanced Options .......................................................... 12 Exercise 3: Text Effects, Symbols, Superscript, Subscript ................ 13 Exercise 4: More Formats ...............................................................
    [Show full text]
  • Graphic Standards Manual
    Graphic Standards Manual To help Oregonians in their own communities achieve wellbeing and independence through opportunities that protect, empower, respect choice and preserve dignity. Safety, health and independence for all Oregonians DHS 2022 GRAPHIC STANDARDS Contents The brand ..........................................................................................................1 Project requests ................................................................................................2 The logo ......................................................................................................... 4-6 Co-branding .......................................................................................................7 Colors .................................................................................................................8 Program, office identification samples and email signature ..........................9 Fonts ...........................................................................................................10 -11 Americans with Disabilities Act basics .......................................................... 12 General readability .......................................................................................... 13 Alternate format and discrimination statement ............................................14 Accommodations ............................................................................................15 Stationary .......................................................................................................
    [Show full text]
  • Markup-Guide-For-Journal-Article-Pdfs.Pdf
    UH Press Journals 1 1/21/2015 Marking PDFs Using Standard Adobe Reader Please read these instructions for marking digital proofs before you begin a project. Your Adobe software might appear somewhat differently on your monitor, depending on the version, so you may need to explore how to use it to obtain similar results as below. To access the needed features, click the “Comment” button at the upper right in the document window. Examples 1. Use the strikethrough tool for deletions (click the “T” icon with red strikethrough). If you simply want to delete text, no need to type “delete” in the comment box or on the PDF. The “strikethrough” icon in the comment box is enough to instruct the compositor. UH Press Journals 2 1/21/2015 2. When you use other tools, a pop-up dialog box appears. The text you enter in this box also appears in the Comments list to the right. Clicking on the comment box in the list will turn the selected comment yellow (or a pinkish color, depending on your monitor). The pop-up dialog box then opens to show the corresponding correction in the text. UH Press Journals 3 1/21/2015 3. If you highlight material, a Comment box will appear in the list of comments to the right. To add a note to the Comment box, double-click on the box to open and enter text. A fillable box appears for your note. To distinguish instructions from desired revisions, use angle brackets (</>), e.g., “<insert>X”. To delete a correction you made, right-click on the comment box or the correction itself to access options, then select “Delete.” UH Press Journals 4 1/21/2015 4.
    [Show full text]
  • Paragraph Using the In-Line Style to Determine the Font-Size (15Pt) and Colour
    mPDF Fixed-position block element with Autofit Using the CSS properties position and overflow:auto it is possible to fit text to a single page: Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula vehicula pretium. Maecenas feugiat pede vel risus. Nulla et lectus. Fusce eleifend neque sit amet erat. Integer consectetuer nulla non orci. Morbi feugiat pulvinar dolor. Cras odio. Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt turpis, vel aliquam quam odio et sapien. Mauris ante pede, auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod. Donec et nulla. Sed quis orci. DIV: Proin aliquet lorem id felis. Curabitur vel libero at mauris nonummy tincidunt. Donec imperdiet. Vestibulum sem sem, lacinia vel, molestie et, laoreet eget, urna. Curabitur viverra faucibus pede. Morbi lobortis. Donec dapibus. Donec tempus. Ut arcu enim, rhoncus ac, venenatis eu, porttitor mollis, dui. Sed vitae risus. In elementum sem placerat dui. Nam tristique eros in nisl. Nulla cursus sapien non quam porta porttitor. Quisque dictum ipsum ornare tortor. Fusce ornare tempus enim. DIV: Proin aliquet lorem id felis. Curabitur vel libero at mauris nonummy tincidunt. Donec imperdiet. Vestibulum sem sem, lacinia vel, molestie et, laoreet eget, urna. Curabitur viverra faucibus pede. Morbi lobortis. Donec dapibus. Donec tempus. Ut arcu enim, rhoncus ac, venenatis eu, porttitor mollis, dui. Sed vitae risus. In elementum sem placerat dui. Nam tristique eros in nisl.
    [Show full text]
  • Introduction to Microsoft Word 1
    Introduction to Microsoft Word 1 Table of Contents Opening a New Document ......................................................................................................................... 3 Navigating the Toolbar .............................................................................................................................. 3 Clipboard ................................................................................................................................................... 3 Cut ......................................................................................................................................................... 3 Copy ...................................................................................................................................................... 3 Paste ..................................................................................................................................................... 3 Format Painter .................................................................................................................................... 4 Font ........................................................................................................................................................... 4 Changing font and text size .................................................................................................................. 5 Bold/Italicize/Underline text ...............................................................................................................
    [Show full text]
  • [Sigwalt] Instruction Book and Catalog (No
    ..&.~ Printing Presses Type »»• Supplies and How To Use Them ••.••••«••••••••» Instruction Book and Catalog (No. 21) covering the PRINTING PRESSES TYPE and SUPPLIES Manufactured and Sold by The Sigwalt Mfg. Co. 2011 N. Lawndale Avenue CHICAGO, U. S. A. Much pleasure and profit can be secured from a small print- ing outfit. Various are the uses to which a printing press can be put : for instance, parents can add it as an aid in the education of office- their children ; lawyers can save expense by having the boy print their briefs, office forms and stationery ; merchants have many pieces printed each year on each of which their own plant would secure economy and permit prompt produc- tion; and the minister, doctor, dentist and the school-master could use a printing-press to advantage and profit. For these real reasons: The Chicago and Ideal Presses are simple in construction; are built are built of the finest materials by expert mechanics ; to last; because the setting of standard printers' type is so simple that any young child soon masters it. Type-setting is not at all tiresome, neither is the running of one stops to a printing-press hard work ; after a little practice think how he ever had the idea that printing was difficult to learn. You can soon learn to be a printer right in your own home by reading the careful instructions farther on in this book. A PRINTING PRESS WILL PROFIT YOU millionaires Start early ! Have you ever figured how many started in life as amateur printers? Their equipment was small, but their ambitions were large.
    [Show full text]
  • The Brill Typeface User Guide & Complete List of Characters
    The Brill Typeface User Guide & Complete List of Characters Version 2.06, October 31, 2014 Pim Rietbroek Preamble Few typefaces – if any – allow the user to access every Latin character, every IPA character, every diacritic, and to have these combine in a typographically satisfactory manner, in a range of styles (roman, italic, and more); even fewer add full support for Greek, both modern and ancient, with specialised characters that papyrologists and epigraphers need; not to mention coverage of the Slavic languages in the Cyrillic range. The Brill typeface aims to do just that, and to be a tool for all scholars in the humanities; for Brill’s authors and editors; for Brill’s staff and service providers; and finally, for anyone in need of this tool, as long as it is not used for any commercial gain.* There are several fonts in different styles, each of which has the same set of characters as all the others. The Unicode Standard is rigorously adhered to: there is no dependence on the Private Use Area (PUA), as it happens frequently in other fonts with regard to characters carrying rare diacritics or combinations of diacritics. Instead, all alphabetic characters can carry any diacritic or combination of diacritics, even stacked, with automatic correct positioning. This is made possible by the inclusion of all of Unicode’s combining characters and by the application of extensive OpenType Glyph Positioning programming. Credits The Brill fonts are an original design by John Hudson of Tiro Typeworks. Alice Savoie contributed to Brill bold and bold italic. The black-letter (‘Fraktur’) range of characters was made by Karsten Lücke.
    [Show full text]
  • Type Anatomy Type Classifications Type Height Measurements
    California State University, Sacramento Department of Design College of Arts and Letters fall 2014 course # and title: GPHD 130 Typography II Instructor: John P. Forrest Jr. Type Classifications Type Anatomy Type Height Measurements California State University, Sacramento Department of Design College of Arts and Letters fall 2014 course # and title: GPHD 130 Typography II Instructor: John P. Forrest Jr. Terms Ascender Kerning Stroke on a lowercase letter that rises above the meanline. In typesetting, the process of subtracting space between spe- cific pairs of characters so that the overall letterspacing appears Baseline to be even. An imaginary horizontal line upon which the base of each capital letter rests. Leading In early typesetting, strips of lead were placed between lines of Cap height type for spacing, hence the term. The vertical distance between Height of the capital letters, measured from the baseline to the two lines of type measured from baseline to baseline. capline. Meanline Capline An imaginary line marking the tops of lowercase letters, not Imaginary horizontal line defined by the height of the including the ascenders. capital letters. Pica Counter Typographic unit of measurement: 12 points equal 1 pica. Six Space enclosed by the strokes of a letter form picas equal approximately one inch. Line lengths and column widths are sometimes measured in picas. Descender Stroke on a lowercase letter form that falls below the baseline. Point A measure of size used principally in typesetting. One point is Display type equal to 1/12 of a pica, or approximately 1/72 or an inch. It is Type sizes 14 point and above, used primarily for headlines and most often used to indicate the size of type or amount of lead- titles.
    [Show full text]