Java Programming Hello FX

Total Page:16

File Type:pdf, Size:1020Kb

Java Programming Hello FX Outline Winter Spring Circle Demo Java Programming Hello FX Alice E. Fischer Feb 16, 2015 Java Programming - Hello FX. 1/22 Outline Winter Spring Circle Demo Winter Colors Fonts Spring Circle Demo Java Programming - Hello FX. 2/22 Outline Winter Spring Circle Demo Example: Winter Introduction to fx Text and Fonts Color Applications, Stages, and Scenes start() Setting the Scene Java Programming - Hello FX. 3/22 Outline Winter Spring Circle Demo Introduction to fx I An fx Application is a GUI program that presents a window. I To use the GUI system, derive a class from Application. I Inside the application window is a Stage, on which you can display one Scene or another. I You can put text, shapes, and controls on the stage. I Fonts and colors can be created and used. Java Programming - Hello FX. 4/22 Outline Winter Spring Circle Demo Application, Stage, and Scene Title bar Application Window Title S t a Content g e A Scene with two Panes Panes Controls Java Programming - Hello FX. 5/22 Outline Winter Spring Circle Demo Java Packages and Classes we Need I These lines bring the names of the basic FX components into your namespace: import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; I Layouts allow you to arrange the display elements in Panes: import javafx.scene.layout.*; I The paint and text packages allow us to use colors and fonts: import javafx.scene.paint.*; import javafx.scene.text.*; Java Programming - Hello FX. 6/22 Outline Winter Spring Circle Demo An FX program is derived from Application I It does not have a main function or a constructor. I Instead, you override start(). I An Application creates a window with a title bar. I The part of the window below the title bar is called theStage. I We create Scenes and put them on the stage. I We create Panes and pack them into a Scene. I The items we want to display are packed into the Panes. I When all the parts are packed into a Scene, we put the Scene on the Stage: st.setScene(scene1) . I Then we make the window visible: st.show() . Java Programming - Hello FX. 7/22 Outline Winter Spring Circle Demo FX programs are derived from Application public class Winter extends Application { // Class data member declarations. Pane haiku = new Pane(); ... public void start( Stage st ){ ... } void setProps ( Text t, Font f, Color c ){ ... } } Java Programming - Hello FX. 8/22 Outline Winter Spring Circle Demo Colors Colors are defined as class members. Color c1 = new Color( .3, .3, .8, 1 ); // Hyacinth I The parameters to the Color constructor are the Red, Green, and Blue components of the color and the Opacity. I All are double numbers between 0 and 1. I Opacity = 1 means fully opaque. I Opacity = .5 means half-transparent. That is, the color of the image underneath, on the desktop, will partly show through. Java Programming - Hello FX. 9/22 Outline Winter Spring Circle Demo Colors Colors r= 1 r= 0 r= 0 g= 0 g= 1 g= 0 b= 0 b= 0 b= 1 r= 1 r= 0 r=.5 g=.5 g= 1 g= 0 b= 0 b=.5 b= 1 r= 1 r=.5 r=.7 g=.5 g= 1 g=.7 b=.5 b=.5 b= 1 r=.3 r= 1 r= 1 g=.3 g= 1 g= 1 b=.8 b=.5 b= 1 r=.3 r= 1 r=.5 g=.8 g=.5 g=.5 b=.3 b= 1 b=.5 r=.8 r=.5 r= 0 g=.3 g= 1 g= 0 b=.3 b= 1 b= 0 Java Programming - Hello FX. 10/22 Outline Winter Spring Circle Demo Fonts Fonts Proportional Fonts Serif fonts have hats and shoes that make the font more readable. This line is set in Times 14-point font. This line is set in Times 12-point font. This line is set in Times New Roman 12-point font. This line is set in Athelas 12-point font. Sans-Serif fonts are simple and look modern This line is set in Arial 12-point font. This line is set in Helvetica 12-point font. Fixed-Width Fonts Every letter in these fonts is the same width. Use for code and output. This line is set in Courier 12-point font. This line is set in Monoco 12-point font. Special-purpose fonts This line is set in Handwriting-Dakota 12-point font. This line is set in Herculaneum 12-point font. Tis line is set in Kokonor 12-point font. Java Programming - Hello FX. 11/22 Outline Winter Spring Circle Demo Fonts Fonts are defined as class members. Font f1 = Font.font ("Arial", FontWeight.BOLD, FontPosture.REGULAR, 24); Font f2 = Font.font ("Arial", FontWeight.NORMAL, FontPosture.ITALIC, 20); I FontWeight.BOLD, FontWeight.NORMAL, FontWeight.LIGHT gives boldface or ordinary non-boldface or light gray text. I FontPosture.ITALIC FontPosture.REGULAR gives slanted code or code that stands straight up. Java Programming - Hello FX. 12/22 Outline Winter Spring Circle Demo Fonts Messages are type Text A Text object has several properties: I A message. I A position, in xy coordinates. Position (0,0) is the upper left corner of the Stage. I A Font. I A Color. Some properties can be set by the constructor, some by later calls on set functions. Java Programming - Hello FX. 13/22 Outline Winter Spring Circle Demo Fonts Things to be displayed can be defined as class members. public class Winter extends Application { Text title = new Text(40, 40, "Winter"); Text l1 = new Text(50, 70, "Piercing cold, stiffness;"); Text l2 = new Text(50, 95, "Warmth of spring still far away,"); Text l3 = new Text(50, 120, "Many weeks to wait."); ... } Java Programming - Hello FX. 14/22 Outline Winter Spring Circle Demo Fonts A private utility function. // Set the font and color of a line of text at the same time. void setProps ( Text t, Font f, Color c ){ t.setFont(f); t.setFill(c); } Java Programming - Hello FX. 15/22 Outline Winter Spring Circle Demo Fonts Application An FX program is created by extending Application. I There is no main function. I Instead, you override start( Stage st ) I An Application creates a window with a title bar. I The part of the window below the title bar is called the Stage. I We create Scenes and put them on the stage. I We create Panes and pack them into a Scene. I The items we want to display are packed into the Panes. I When all the parts are packed into a Scene, we put the Scene on the Stage: st.setScene(scene1). I Then we make the window visible: st.show(). Java Programming - Hello FX. 16/22 Outline Winter Spring Circle Demo Fonts The import commands. I These lines bring the names of the basic FX components into your namespace: import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; I Layouts allow you to arrange the display elements in Panes: import javafx.scene.layout.*; I The paint package allows us to use colors: import javafx.scene.paint.*; I The text package allows us to use fonts: import javafx.scene.text.*; Java Programming - Hello FX. 17/22 Outline Winter Spring Circle Demo Spring This demo program is very much like Winter. The differences are that the code has been shortened by defining a more powerful helper function and it uses Color.GREEN instead of Color.BLUE Java Programming - Hello FX. 18/22 Outline Winter Spring Circle Demo Circle Demo: Review This program uses the following familiar things: I Application, Stage, Scene, Pane. I setTitle(), setScene(), and show() I Color grayBlue = new Color( .4, .4, .8, 1 ); I Three predefined colors: Color.WHITE, Color.BLUE, and Color.BLACK Java Programming - Hello FX. 19/22 Outline Winter Spring Circle Demo Circle Demo: New features This program uses the following new things: I javafx.scene.shape.Circle; I Circle c1 = new Circle(100, 100, 50, grayBlue) I The first two parameters in the circle constructor are the x and y coordinates of the center of the circle. I The third parameter is the radius and last is the color. I We set a black outline on one of the circles: c1.setStroke(Color.BLACK); The color of the shape and of its outline can be different. Java Programming - Hello FX. 20/22 Outline Winter Spring Circle Demo Placing the Parts of the Display To see the display elements, every one must be put into a pane, and the pane into a scene, and the scene onto the stage. I In this program, demo is a pane. I To put the circles into demo, we first need to get the list (currently empty) of the pieces that have previously been put there: demo.getChildren() I Then we add new parts to the end of the list: demo.getChildren().addAll( c1, c2, c3, c4 ); I The first things added can be covered up by things added later. The last thing shows. Java Programming - Hello FX. 21/22 Outline Winter Spring Circle Demo Make the Stage Visible At this point, we have constructed all of the objects that will be in the scene. I We create a new Scene with the desired dimensions. I We set the Scene on the stage. I Then we make it all visible. ... Scene sn = new Scene( demo, 200, 200 ); st.setScene(sn); st.show(); } Java Programming - Hello FX. 22/22.
Recommended publications
  • Discourse, Materiality and Power: Dietary Supplements and Their Users Susan Roberton Bidwell a Thesis Submitted for the Degree
    Discourse, Materiality and Power: Dietary Supplements and their Users Susan Roberton Bidwell A thesis submitted for the degree of Doctor of Philosophy of the University of Otago, Dunedin March 2020 Abstract Throughout human existence people have used herbs and other medicinal substances to protect themselves against illness and treat their ailments. Gathering wild herbs has, however, been replaced today by the many products on the shelves of health stores and pharmacies in developed countries with health systems similar to New Zealand. Previous studies of supplements and their use have largely focused on how many people use them, or subsumed supplement use within wider studies of complementary and alternative medicine (CAM). Supplement use, however, has characteristics that make it different from CAM therapies more broadly. Yet there have been only a few investigations where supplement users have been asked directly about their practices, and those that have been done have tended to be under- theorised and so lack depth. This study used a constructionist approach, within which supplements and their users were examined from both humanist and post-humanist perspectives. I used semi-structured interviews to generate data with 36 participants who were regular users of supplements. The interviews were supplemented by observations of the displays of products that participants brought to my attention in the home and retail settings where the interviews took place. A critical theoretical analysis was undertaken, framed by Deleuze and Guattari’s concept of the rhizomatic assemblage of multiple, interconnected actants which are always in a process of change. Within this wider framework, aspects of the data were examined using other theoretical concepts including deconstruction, the agency of matter, and Foucault’s ideas of power and caring for the self.
    [Show full text]
  • Suitcase Fusion 8 Getting Started
    Copyright © 2014–2018 Celartem, Inc., doing business as Extensis. This document and the software described in it are copyrighted with all rights reserved. This document or the software described may not be copied, in whole or part, without the written consent of Extensis, except in the normal use of the software, or to make a backup copy of the software. This exception does not allow copies to be made for others. Licensed under U.S. patents issued and pending. Celartem, Extensis, LizardTech, MrSID, NetPublish, Portfolio, Portfolio Flow, Portfolio NetPublish, Portfolio Server, Suitcase Fusion, Type Server, TurboSync, TeamSync, and Universal Type Server are registered trademarks of Celartem, Inc. The Celartem logo, Extensis logos, LizardTech logos, Extensis Portfolio, Font Sense, Font Vault, FontLink, QuickComp, QuickFind, QuickMatch, QuickType, Suitcase, Suitcase Attaché, Universal Type, Universal Type Client, and Universal Type Core are trademarks of Celartem, Inc. Adobe, Acrobat, After Effects, Creative Cloud, Creative Suite, Illustrator, InCopy, InDesign, Photoshop, PostScript, Typekit and XMP are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Apache Tika, Apache Tomcat and Tomcat are trademarks of the Apache Software Foundation. Apple, Bonjour, the Bonjour logo, Finder, iBooks, iPhone, Mac, the Mac logo, Mac OS, OS X, Safari, and TrueType are trademarks of Apple Inc., registered in the U.S. and other countries. macOS is a trademark of Apple Inc. App Store is a service mark of Apple Inc. IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used under license. Elasticsearch is a trademark of Elasticsearch BV, registered in the U.S.
    [Show full text]
  • ART DIRECTION (Design Elements) Art Direction — Tallit Lines 01
    01 ART DIRECTION (design elements) Art Direction — Tallit lines 01 TALLIT (prayer shawl) What / Design / Jewish prayer shawl worn during prayers/ a special The lines of the tallit is something that Jews can easily occassion. It has special twined and knotted fringes identify with and relate to. They can be graphically known as tzitzit attached to it’s four corners. This intepreted into line dividers/ borders/ decorative literally means cloak or sheet. It has remained elements etc and would reiforce the prayer aspect an inseparable part of Jewish worship. of the event, conveying our support for Israel. Art Direction — Tallit lines 02 TALLIT (prayer shawl) Art Direction — Tzitzit 03 TZITZIT (tassels) What / Design / These are knotted fringes tied at the four corners of The intricacy of how the tzitzit threads intertwines is a the tallit. They must be made with intent, with specific beautiful and meaningful symbolism of the rich jewish number of threads that winds around and hangs losely culture and it’s significance today. Many jews still at the end. The number of winds adds up to represent attach tzitzits on their clothings as a reminder of the direct speilling of God’s name. The total number their Jewish laws and traditions. This would be an of threads adds up to the Jewish laws. ideal visual to celebrate their traditions and culture. Art Direction — Tzitzit 04 TZITZIT (tassels) Possible Design Elements a. b. c. (zoom out) (zoom out) . minimal . intricate . intricate . uniform & consistent clean lines . uniform & consistent clean lines . sketchy & fluid strokes . not accurate (no. of strokes) . accurate (no.
    [Show full text]
  • 13A04806 LINUX PROGRAMMING and SCRIPTING UNIT 4 TCL/ TK SCRIPTING:Tcl Fundamentals, String and Pattern Matching, Tcl Data Struct
    13A04806 LINUX PROGRAMMING AND SCRIPTING UNIT 4 TCL/ TK SCRIPTING:Tcl Fundamentals, String and Pattern Matching, Tcl Data Structures ,Control Flow Commands, Procedures and Scope , Evel, Working With UNIX, Reflection and Debugging, Script Libraries, Tk Fundamentals ,Tk by Examples, The Pack Geometry Manager, Binding Commands to X Events, Buttons and Menus, Simple Tk Widgets, Entry and Listbox Widgets Focus, Grabs and Dialogs 13A04806 LINUX PROGRAMMING AND SCRIPTING Tcl - Overview Tcl is shortened form of Tool Command Language. John Ousterhout of the University of California, Berkeley, designed it. It is a combination of a scripting language and its own interpreter that gets embedded to the application, we develop with it. Tcl was developed initially for Unix. It was then ported to Windows, DOS, OS/2, and Mac OSX. Tcl is much similar to other unix shell languages like Bourne Shell (Sh), the C Shell (csh), the Korn Shell (sh), and Perl. It aims at providing ability for programs to interact with other programs and also for acting as an embeddable interpreter. Even though, the original aim was to enable programs to interact, you can find full-fledged applications written in Tcl/Tk. Features of Tcl The features of Tcl are as follows − ∑ Reduced development time. ∑ Powerful and simple user interface kit with integration of TK. ∑ Write once, run anywhere. It runs on Windows, Mac OS X, and almost on every Unix platform. ∑ Quite easy to get started for experienced programmers; since, the language is so simple that they can learn Tcl in a few hours or days. ∑ You can easily extend existing applications with Tcl.
    [Show full text]
  • Suitcase Fusion 9 Getting Started Guide
    Legal notices Copyright © 2014–2019 Celartem, Inc., doing business as Extensis. This document and the software described in it are copyrighted with all rights reserved. This document or the software described may not be copied, in whole or part, without the written consent of Extensis, except in the normal use of the software, or to make a backup copy of the software. This exception does not allow copies to be made for others. Licensed under U.S. patents issued and pending. Celartem, Extensis, MrSID, NetPublish, Portfolio Flow, Portfolio NetPublish, Portfolio Server, Suitcase Fusion, Type Server, TurboSync, TeamSync, and Universal Type Server are registered trademarks of Celartem, Inc. The Celartem logo, Extensis logos, Extensis Portfolio, Font Sense, Font Vault, FontLink, QuickFind, QuickMatch, QuickType, Suitcase, Suitcase Attaché, Universal Type, Universal Type Client, and Universal Type Core are trademarks of Celartem, Inc. Adobe, Acrobat, After Effects, Creative Cloud, Creative Suite, Illustrator, InCopy, InDesign, Photoshop, PostScript, and XMP are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Apache Tika, Apache Tomcat and Tomcat are trademarks of the Apache Software Foundation. Apple, Bonjour, the Bonjour logo, Finder, iPhone, Mac, the Mac logo, Mac OS, OS X, Safari, and TrueType are trademarks of Apple Inc., registered in the U.S. and other countries. macOS is a trademark of Apple Inc. App Store is a service mark of Apple Inc. IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used under license. Elasticsearch is a trademark of Elasticsearch BV, registered in the U.S.
    [Show full text]
  • Visual Identity Guidelines
    VISUAL IDENTITY GUIDELINES CONTENTS 1 The Schwarzman Centre for the 15 Typography Humanities | University of Oxford 16 Stationery templates 2 Unique visual identity as a partner brand 17 Digital communication templates 3 Effective communications 18 Writing style guidelines 4 Using these guidelines 19 Photography 5 The Schwarzman logo 20 Ceremonial belted crest 13 Oxford blue and Schwarzman purple 21 Online brand toolkit and design support 14 Complementary colours 22 Further information The Schwarzman Centre for the Humanities | Visual Identity Guidelines The Schwarzman Centre for the Humanities | University of Oxford For nearly a thousand years, Oxford unprecedented scale for an academic has stood as the world’s most important institution. A crucible of cross- academic institution for study and disciplinary research, this new home understanding of the humanities. for the humanities will help us unlock new insights, engage new audiences, History, art, archaeology, language and meet new challenges. and literature, music, drama, theology, The Schwarzman Centre provides philosophy, religion—together they The Centre will also create a national a dynamic new nexus of academic, represent our shared human story, the and international focal point for heritage of our collective civilization, Humanities research and leadership, cultural, and ethical inquiry to focus our cultural DNA. The humanities as well as a platform for closer Oxford’s incredible intellectual resources shape our identity, define our history, partnership not only with other and articulate our ambitions. prominent institutions, academics, on the task of understanding and and artists, but also with our local expressing our human voice in the Yet the humanities are of limited value community, and through digital if knowledge remains sequestered extensions, the world.
    [Show full text]
  • September 2020 Page 1
    ISoP NEWS Sept 2020 Message from the President Highlights By Brenda Cirincione In this Issue Pg. I cannot speak for everyone but for ISoP this is an insanely busy time. The Board of Directors started out ACOP Update 2 this year with the intent of transforming a lot of our processes and procedures as well as increasing the Volunteer 3 opportunities for, and benefits to, our membership. All of this with the intent to position the society to Spotlight allow for even more growth and success in the future. Then the pandemic occurred. We continue to hope that everyone is doing well and staying safe as we progress into the autumn- winter season in the Northern Papers Worth 4 Hemisphere. But for ISoP, things have proceeded and in fact, we have even more challenges than before. Reading I want to take a moment to thank all our members for their continued support for the initiatives for the Updates 5 Society during this incredibly challenging time. I would like to highlight a few of these activities: Choosing Fonts 10 Virtual ACoP. We have just launched the registration for our virtual ACoP meeting. for Data While on paper this might seem like a relatively simple task, it has been a huge lift for Visualization many members of our society. We would like to thank Navin Goyal, Heather Vezina, C. J. Musante and the ACoP planning committee for all their ongoing efforts in JPKPD News 14 converting ACoP to a virtual meeting. They are working tirelessly to provide a virtual conference with the WhateveR: 15 look and feel of the ACoP that we are accustomed to.
    [Show full text]
  • Romain Pinoteau, Made in China De Jean-Philippe
    III Spécificité numérique de Made in China ? Jean-Philippe Toussaint est aussi un plasticien, c’est sans doute l’une des raisons pourquoi il attache autant d’importance à l’aspect visuel de ses livres. Cela n’est donc pas un hasard, si Toussaint a porté une attention particulière à la version numérique de Made in China. En effet, cette version a été pour lui l’occasion de réaliser pour la première fois une de ses envies d’écrivain : de mettre de la musique dans un de ses livres. D’ailleurs, il est même allé encore plus loin dans ce projet, puisqu’il a incorporé au cœur même de Made in China, un véritable film. Cette œuvre peut être lue sous la forme d’un livre papier dont nous sommes tous coutumiers, car le codex a marqué et marque encore de nos jours sa prédominance dans le monde des livres. Pourtant, Isabelle Dominati-Muller175, dans un article suivi d’un entretien avec Jean-Philippe Toussaint, indique que la découverte de Made in China est conseillée sous format numérique, à l’aide d’une tablette ou bien encore d’un ordinateur, afin de pouvoir se rendre pleinement compte de ce qu’a voulu faire l’auteur. En effet, ce livre est tout à fait singulier dans le paysage littéraire d’aujourd’hui, pour peu de le découvrir sous forme numérique. A. Esthétique évoluant selon le support La version numérique de Made in China passe par l’écran à la différence du livre papier. De ce fait, l’esthétique de l’œuvre s’en voit changée, car, tout d’abord, la taille des écrans d’ordinateur ou des tablettes n’est pas nécessairement identique et peut différer d’un modèle à l’autre.
    [Show full text]
  • Reader View Task Card
    105 – 1750 West 75th Avenue, Vancouver, B.C., Canada V6P 6G2 Phone: 604.261.9450 Fax: 604.261.2256 www.setbc.org Reader View, iOS 10.3.1 Introduction Reader View is available on the iPad’s built-in web browser, Safari and it allows users to minimize the clutter and distractions on a particular website. Users can then use the speak screen feature to have the website read back to them. Learning Objectives Completion of this tutorial will give you experience with the following: • Simplify a website to get rid of excess content • Change the font and colour of the distilled website to suit the user’s need This tutorial assumes • that you have an iOS device with Safari web browser installed • a link to a website that contains extraneous graphics and links (newspaper sites are common) • that you have at a minimum, iOS9 installed on your device • your device is connected to the internet Case Study Julie uses the IPad to do research work on and she uses Safari to link to websites. The class is discussing current events for Social Studies and the teacher asks Julie to link to this particular news article on a website. When Julie links to it, she notices the article but also the clutter on the page at the same time such as ads and extra banners and links. This is distracting to Julie and she clicks on those extraneous links and loses focus on the article. The teacher would like Julie to just focus on the content of the news article.
    [Show full text]
  • LMC Font Guide
    FONT GUIDE BASIC FONT GUIDELINES • A document should have one SYSTEM FONT GUIDE or 2 fonts. Below is a list of system fonts common to Microsoft and • A good rule is to use a serif Apple. System fonts are the fonts already installed on font in combination with a sans your computer. Some are better than others so this list serif font. is a guide to help you narrow down the best options. THE A LIST: PRINT FONT COMBINATIONS The list below gives some of the best Athelas Gill Sans MT font combinations we have found. These Avenir Goudy Old Style fonts may have to be purchased but this Bell MT Helvetica provides you with some guidance in case Book Antiqua Helvetica Neue you already have them. Californian FB Hoefler Text Calisto MT Iowan Old Style Helvetica / Garamond Century Schoolbook Optima Caslon / Univers Palatino Charter Frutiger / Minion Seravek Franklin Gothic Futura / Bodoni Sitka Garamond Garamond / Futura Gill Sans Gill Sans / Caslon Minion / Gill Sans THE B LIST: Univers / Caslon Bodoni / Futura Agency FB Didot Myriad / Minion Big Caslon Futura Avenir / Warnock Bodoni MT Geneva Caslon / Franklin Gothic ITC Bodoni 72 Gloucester MT Extra Cond. FF Din / Baskerville Calibri High Tower Text Trade Gothic / Clarendon Candara Modern No. 20 Baskerville / Univers Centaur Perpetua Akzidenz Grotesk / Garamond Century Rockwell Clarendon / Trade Gothic Constantia Segoe UI Franklin Gothic / Baskerville Corbel Tw Cen MT Warnock / Univers GOOGLE FONT COMBINATIONS BELOW ARE 10 WEB FONT COMBINATIONS Lato / Merriweather Georgia / Verdana Montserrat / Neuton Helvetica (Bold) / Garamond Oswald / Quattrocento Bodoni / Futura Playfair Display / Open Sans Franklin Gothic / Baskerville Roboto Slab / Roboto Caslon (Bold) / Univers (Light) Frutiger (Bold) / Myriad Gill Sans (Bold) / Garamond Clarendon / Trade Gothic Avenir / Minion.
    [Show full text]
  • Suitcase Fusion 7 Guide
    Copyright © 2014–2017 Celartem, Inc., doing business as Extensis. This document and the software described in it are copyrighted with all rights reserved. This document or the software described may not be copied, in whole or part, without the written consent of Extensis, except in the normal use of the software, or to make a backup copy of the software. This exception does not allow copies to be made for others. Licensed under U.S. patents issued and pending. Extensis is a registered trademark of Celartem, Inc. The Extensis logos, Extensis Portfolio, Font Sense, Font Vault, FontLink, QuickComp, QuickFind, QuickMatch, QuickType, Suitcase, Suitcase Attaché, TurboSync, Universal Type, Universal Type Client, and Universal Type Core are trademarks of Extensis. Portfolio Flow, Portfolio NetPublish, Suitcase Fusion, Type Server, and Universal Type Server are registered trademarks of Extensis. Celartem, Celartem, Inc., and the Celartem logo are trademarks of Celartem, Inc. Adobe, Acrobat, After Effects, Creative Cloud, Creative Suite, Illustrator, InCopy, InDesign, Photoshop, PostScript, Typekit and XMP are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Apple, Bonjour, the Bonjour logo, Finder, iBooks, iPhone, Mac, the Mac logo, Mac OS, OS X, Safari, and TrueType are trademarks of Apple Inc., registered in the U.S. and other countries. macOS is a trademark of Apple Inc. App Store is a service mark of Apple Inc. IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used under license. Microsoft, Excel, Internet Explorer, PowerPoint, SQL Server, and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
    [Show full text]
  • Vision 04 00018.Pdf (3.374Mb)
    vision Article The Influence of Typography on Algorithms that Predict the Speed and Comfort of Reading Arnold Wilkins 1,* , Katie Smith 1 and Olivier Penacchio 2 1 Department of Psychology, University of Essex, Wivenhoe Park, Essex, Colchester CO4 3SQ, UK; [email protected] 2 School of Psychology and Neuroscience, University of St. Andrews, St Mary’s Quad, South Street St Andrews, Fife KY16 9JP, UK; [email protected] * Correspondence: [email protected] Received: 21 January 2020; Accepted: 9 March 2020; Published: 12 March 2020 Abstract: 1. The speed with which text can be read is determined in part by the spatial regularity and similarity of vertical letter strokes as assessed by the height of the first peak in the horizontal autocorrelation of the text. The height of this peak was determined for two passages in 20 fonts. The peak was unaffected by the size of the text or its content but was influenced by the font design. Sans serif fonts usually had a lower peak than serif fonts because the presence of serifs usually (but not invariably) resulted in a more even spacing of letter strokes. There were small effects of justification and font-dependent effects of font expansion and compression. 2. The visual comfort of images can be estimated from the extent to which the Fourier amplitude spectrum conforms to 1/f. Students were asked to adjust iBooks to obtain their preferred settings of font and layout. The preference was predicted by the extent to which the Fourier amplitude spectrum approximated 1/f, which in turn was jointly affected by the design of the font, its weight and the ratio of x-height to line separation.
    [Show full text]