XWN740 X-Windows Configuring and Using Fonts and X Windows (Chapter 10)‏

Slides:



Advertisements
Similar presentations
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Advertisements

 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Microsoft Word – Lesson 1
Chapter 3 Drawing and Composing an Illustration. Objectives Draw straight lines Draw curved lines Draw elements of an illustration Apply attributes to.
XWN740 X-Windows Configuring and Using Fonts – The New Way (Chapter 11)‏
Microsoft Word 2003 Tutorial 2 – Editing and Formatting a Document.
Microsoft Office Illustrated Fundamentals Unit E: Enhancing a Document Unit E: Enhancing a Document.
Lesson 2 — Working with Text
DIGITAL GRAPHICS & ANIMATION Complete LESSON 4 ADDING TEXT TO GRAPHICS.
Chapter Concepts Discuss Fonts Understand Fonts
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
Creating a Web Page with Tables. Objectives Create a text table with preformatted text Create the basic structure of a graphical table Organize table.
CIS101 Introduction to Computing
Text, Masks, and Live Effects – Lesson 41 Text, Masks, and Live Effects Lesson 4.
Chapter 10 Formatting a Document.
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
Quark QuarkXPress 4 Intermediate Level Course. Working with Master Pages The Document Layout Palette allows you to add, delete, and move document and.
1 Computing for Todays Lecture 4 Yumei Huo Fall 2006.
Developing a Basic Web Page with HTML
Basic Editing Lesson 2- Part 2. Navigating and Searching Through a Document Find command options, the mouse, scroll bars, and various keystroke and keyboard.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
Introduction to Interactive Media 06: Text: Static Interactive Media Component.
Chapter 9 Text. So, chapter 10 is about Photography, now Chapter 9 is about text What should it look like, how big should it be, how do colors contrast,
Typography Terms. o.php?viewkey=d26eb03e91d5741a4a 3b.
Lesson 2 – Formatting Text Microsoft Word Learning Goals The goal of this lesson is for the students to successfully apply formatting to a document.
B.Sc. Multimedia ComputingMedia Technologies Character Representation & Font Technology.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
ADOBE INDESIGN CS3 Chapter 2 WORKING WITH TEXT.
Chapter 2 Developing a Web Page. Chapter 2 Lessons Introduction 1.Create head content and set page properties 2.Create, import, and format text 3.Add.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
CHAPTER FIVE TEXT.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
CNIT 132 – Week 7 HTML - Tables. Tables on the World Wide Web A table can be displayed on a Web page either in a text or graphical format. A text table:
XP 1 Microsoft Word 2002 Tutorial 1 – Creating a Document.
Microsoft Word ITE115 Trisha Cummings. MsWord - Word Processing Program Allows you to create Letters, Envelopes, Mailing Labels, Memo’s , Fax’s.
Introduction to Interactive Media Interactive Media Components: Text.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Basic Editing Lesson 2.
Desktop Publishing Review. What is a rough sketch used in planning a layout and design?
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
LOGO Chapter II Entering Excel Formulas and Formatting Data Friday, November 20, 2015.
Digital Media Dr. Jim Rowan ITEC So far… We have compared bitmapped graphics and vector graphics We have discussed bitmapped images, some file formats.
Word Tutorial 4 Desktop Publishing and Mail Merge
1.01b Investigate typefaces and fonts.. Fonts It’s easier to understand fonts if you begin with the original definition of a font. Before desktop publishing,
1.01b Investigate typefaces and fonts.. Fonts It’s easier to understand fonts if you begin with the original definition of a font. Before desktop publishing,
TEXT.  Font Style Examples: ◦ Bold ◦ Italic ◦ Underline  Font Size Examples: ◦ Points  8 pt (can be smaller)  10 pt  12 pt.
WORD BASICS: THE HOME MENU READ THROUGH THE FOLLOWING SLIDES AND FILL OUT YOUR STUDY GUIDE.
Lesson 6 Formatting Cells and Ranges. Objectives:  Insert and delete cells  Manually format cell contents  Copy cell formatting with the Format Painter.
UsingWindows programs including WordPad and Paint Windows 7 Operating System 1.
Microsoft PowerPoint 2007 Part 1. Agenda Formatting Presentation Text I Formatting Presentation Text II Editing and Proofing Text Using the Outline Tab.
Chapter 2. Copyright 2003, Paradigm Publishing Inc. CHAPTER 2 BACKNEXTEND 2-2 LINKS TO OBJECTIVES Bold, Italic, and Underlining Bold, Italic, and Underlining.
MS WORD INFORMATION TECHNOLOGY MANAGEMENT SERVICE Training & Research Division.
Desktop Publishing Lesson 3 — Formatting Pages. Lesson 3 – Formatting Pages2 Objectives  Set up pages.  Set guides.  Use master pages.  Insert page.
Desktop Publishing Lesson 2 — Working with Text. Lesson 2 – Working with Text2 Objectives  Create a blank document.  Work with text boxes.  Work with.
X-Windows Configuring and Using Fonts and X Windows (Chapter 10)
Exploring Microsoft Word 2003
XWN740 X-Windows Configuring and Using X Utility Programs
Tutorial 1 – Creating a Document
Introducing Microsoft Office 2010
Windows Internet Explorer 7-Illustrated Essentials
Chapter Lessons Use the Macromedia Flash drawing tools
CSC020, Computer Graphics Type tools 1.
Layout Terms Visual Hierarchy
Microsoft Office Illustrated Fundamentals
XWN740 X-Windows Configuring and Using X Utility Programs
Presentation transcript:

XWN740 X-Windows Configuring and Using Fonts and X Windows (Chapter 10)‏

Agenda Working with Fonts: Why Study Fonts in X? Font Basics Core Fonts Using Fonts the Old Way Configuring Font Path Font Names Installing / Removing Fonts

Configuring X Windows Why Study Fonts in X? X has two font systems: one that was invented in 1984, and one that was invented in Both systems are in wide use today. We will study the old system in today's lesson. Why study fonts in X Windows? Running font servers to increase efficiency when rendering documents with fonts require knowledge of fonts. You may need the ability to add different types of fonts when clients/users request them...

Fonts and X Windows Font Basics A font is a description of how to display a given set of characters in a particular size, typeface, and style. It includes information about each character shape, spacing, and usage. Font sizes have traditionally been measured in points, a unit of measure now considered equal to 1/72 inch or mm. Line-to-line spacing (leading) is also measured in points. A typeface is a coordinated collection of glyphs or character shapes. Font styles alter the glyphs for special applications; typical styles include italic and bold.

Fonts and X Windows Font Basics Horizontally, a font's glyphs may be monospaced, meaning that the start of each character is the same distance from the start of the preceding and following characters, regardless of the characters. Fonts may alternately be proportionally spaced, with the amount of space adjusted to the width of the character.

Fonts and X Windows Font Basics Note the difference between fixed spaced and proportionally spaced fonts displayed below: Proportionally Spaced: Hello, How are you? Narrow Character: l Wide Character: W Fixed Spaced (Monospaced): Hello, How are you? Narrow Character: l Wide Character: W

Fonts and X Windows Font Basics Proportionally-spaced characters can also be kerned: the amount of space can be adjusted according to the combination of characters used. For example, the letters oa would be placed closer together than the characters ab, because the curved sides of the characters create the visual appearance of more space. Digital fonts can be specified in two different ways: as a bitmap (pattern of dots) or as a scalable font pattern (series of elements such as lines, arcs, and fills).

Fonts and X Windows Bitmapped vs. Scalable Fonts Bitmapped fonts are specific to a particular size, display resolution and style. They tend to be fairly large files and are quite inflexible, but they have the advantage of being easy to place on the screen. Scalable fonts can be rendered at any resolution and font size, and in many cases they can be rendered in different weights and styles. However, they must be rendered into an internal bitmap format before being drawn on the screen.

Fonts and X Windows Fonts the Old Way (Core Fonts)‏ The original X11 font system is called core fonts. It can use bitmapped fonts or (more recently) scalable fonts; these fonts are managed on the server using the X11 protocol. The problem with core fonts is that they are monochrome only, meaning they are only one color, and as a result, produce a “staircase effect” referred to as “aliasing” that give the font a blocky appearance.

Fonts and X Windows Defining core fonts A Font Server can be used in X windows so that catalogs of fonts can easily be made available to a large number of desktop systems (i.e. improve efficiency of rendering fonts). The xfs command is used to start the font server. The server can also find the fonts using the font path usually defined in the xorg.conf file, which can also be set or viewed using the xset command. The fonts must be on a file system that are accessible to the X server, or they must be available through a font server.

Fonts and X Windows Defining core fonts The font path specification for a font server takes this form: protocol/host:port/catalog The protocol is either "tcp" or "unix" (in which case the host is left blank); the port is usually 7100; and the catalog is the set of fonts to be accessed (leave the slash and catalog off to access all fonts from that font server).

Fonts and X Windows Font Names Core fonts are named and selected using the X Logical Font Descriptor (XLFD). This is a set of 14 fields starting with a dash and separated by dashes. Refer to section 10.4 in X Power Tools textbook for a listing of font name fields (i.e. font characteristics). X Window clients applications (such as xterm) usually allow an option to use a particular font: eg. xterm -font -bitstream-terminal-medium-*-*-*-18-*-*-100-c-*-iso8859-*

Fonts and X Windows Viewing / Selecting Fonts xlsfonts Used to list the font name for all installed fonts. xfontsel Used as a graphical method to preview, copy and paste font name to an application such as xterm.

Fonts and X Windows Installing Fonts To install fonts, you can download zipped font files to a general directory. The problem with core fonts with the long 14 field descriptors is that those long file names are incompatible with older Unix systems with a maximum filename size of 14 characters. The utilities contained in the next slides allows aliases or “nick-names” to be used to represent the larger font filenames....

Fonts and X Windows Installing Fonts mkfontdir Used to create a new directory to store a bitmapped font. eg. cd /usr/share/X11/fonts/100dpi mkfontdir mkfontscale Used to setup a scalable font prior to using mkfontdir. eg. cd /usr/share/X11/fonts mkfontscale mkfontdir

Fonts and X Windows Adding/Removing Fonts Paths xset [+fp pathname] [-fp pathname] Used to add or remove fonts from font server. A + sign before the pathname adds to the beginning of the path list, a + sign after the pathname adds to the end of the path list. You can also use = to ignore current font path and set a new value, but space must be between = and the font path.. Examples: xset +fp /newfontdirectory xset -fp /newfontdirectory xset fp= /newfontdirectory

Fonts and X Windows Next Lesson Although core fonts are still used by older applications, these type of fonts are starting to disappear from the X windows environment. In the next lesson, we will learn how to use a newer font system that was adopted in