1. Trang chủ
  2. » Kinh Doanh - Tiếp Thị

windows vista secrets april 2007 phần 4 pps

68 287 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Windows Vista Secrets April 2007 Part 4 PPS
Trường học University of Learning
Chuyên ngành Computer Science
Thể loại lecture notes
Năm xuất bản 2007
Thành phố Unknown
Định dạng
Số trang 68
Dung lượng 4,03 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Microsoft gave these faces away primarily toexpand the installed base of these fonts to Apple users OS X supports both TrueType andOpenType fonts and Windows 95/98 users who’d never rece

Trang 1

Figure 7-6:Some important characters and symbols in Unicode You can enter these characters

in Windows XP and Windows Vista by holding down the Alt key, typing the decimal number onthe numeric keypad (with NumLock on), and releasing Alt Leading zeros in the hex numbersare optional

Trang 5

Alt+Number Works for Unicode as well as ANSI

If you need to enter just a few special characters, the Alt+number method that wasdescribed earlier for ANSI characters also can be used to enter Unicode characters inalmost any Windows application

One difference is that Windows Vista supports two Alt+number methods One uses

deci-mal numbers from 161 and higher The other uses hexadecideci-mal numbers from 00a1 on up

We’ll first explain the Alt+decimal method.

1. Make sure the NumLock key is on (NumLock light is lighted)

2. Hold down the Alt key

3. On the numeric keypad, type the decimal number of the character you desire.You don’t need to include a leading zero in front of character numbers 256 andhigher

4. Release the Alt key If your insertion point is formatted in a font that includes theUnicode character you entered, that character immediately appears If not, youcan change the font at any later time

If the Alt+number method doesn’t work, your input language or code page may be fering If so, try the Alt-+Alt-hex method, described in the following section

inter-Alt+Plus, Alt+Hex Method for Windows 2000, XP, and Vista

You may prefer to enter a Unicode character from the keyboard using hexadecimal

num-bers rather than decimal If so, there’s what we call an Alt+Plus, Alt+Hex method that

works in some applications It’s a bit more convoluted and time-consuming than theAlt+decimal method

1. The status of NumLock doesn’t matter using the Alt+Plus, Alt+Hex method

2. Hold down the Alt key throughout this process

3. Press the plus sign (+) on the numeric keypad Nothing will noticeably change

4. Using the main keyboard, type the letters and digits of the hex code for the acter you desire You can include leading zeros or omit them For example, typ-

char-ing 03c0 or just 3c0 specifies the Greek letter pi (π), if your selected font has one

5. Release the Alt key If your insertion point is formatted in a font that includes theUnicode character you entered, that character immediately appears If not, youcan change the font at a later time



Registry Hack May Be Required for Alt+Plus, Alt+Hex

The Alt+Plus, Alt+Hex method won’t work in Windows or any application if a certainkey in the Registry isn’t set correctly This could happen if the key was inadvertently

changed or was never switched on If Alt+Plus, Alt+Hex doesn’t work, take the

fol-lowing steps:

1 Use the Start menu to run RegEdit.exe.

2 Expand HKEY_Current_Userto /Control Panel/Input Method Find the key (orcreate a new string value) called EnableHexNumpad If you create this stringvalue, it should have the REG_SZtype

3 Right-click and modify EnableHexNumpadto give it a value of 1 Close RegEdit

Secret

Trang 6

Who Has Which Fonts?

We’ve now dispensed with how you get at all of the characters that you may have hidden

away within your fonts So we turn to an equally important question: How do you know

which fonts you have?

And just as important is this: Which fonts do other computer users have? This issue is cial to whether you can send a document file to someone else and have them correctly see

cru-it the way you do on your screen and printer If you post a document on the Internet, does

it look fine to those who read and print it, or does it look like your cat was walking acrossyour keyboard at the time?

These aren’t easy questions to answer We’ve spent a ridiculous amount of time ing every font name that ever shipped with Windows or other major Microsoft products.Now we’re ready to announce who has which fonts!

research-Love at First Sort, or Baby, You’re My Type

To make this information understandable, we first need to let you in on which versions ofWindows — and therefore which users — have which fonts A font that first reachedWindows users only with the release of Vista will be present on far fewer systems than afont that’s been around since clay tablets

It turns out that many things are actually sorted kind of randomly when you put them intoalphabetical lists That’s more true of font lists than almost anything else

So we’re not presenting you in this chapter with the frustrating avalanche-page-of-fontsthat’s found in the typical alphabetical listing Instead, it makes the most sense to under-standing the Windows fonts if we sort them from those that are the most prevalent tothose that have just seen the light of day and are still rare

In brief, these are:

 Fonts that all Windows users have:These are the TrueType fonts that you findwherever Windows is booted up That’s because these fonts have been in theproduct since before Bill Gates was born That means they were installed bydefault in Windows NT 4, Windows 95, Windows 98, and on up the ladder Thesefonts are like cockroaches; you’ll never be able to get rid of them

 Fonts that practically all Windows users have:These include the fonts that come with Windows 98/Me (which are practically the same operating system),Windows 2000, and everything since then There aren’t that many Windows

users who are still running NT or Win95 nowadays And even they probably

received this group of fonts while in the process of installing Microsoft Office,

Trang 7

an IE upgrade, or the like Combined with the fonts from Group 1, these are thefonts that nearly all Windows users and most Mac users can be counted on tohave.

 Fonts that most users have, since they have W2K, XP, or Vista:The sweet spot

in the installed base, as this book is published, is Windows 2000/Windows XP.These operating systems represent the vast majority of PCs in use today Some ofMicrosoft’s once famous Core Fonts for the Web were first bundled into Windows

2000 (although they were available before that) This group of fonts, therefore, is

very widely installed, but by no means can you expect that all Windows users

have them

 Fonts that were first shipped with Vista: Windows XP wasn’t much on the fontfront, so that left it to Vista to ship with a whole new gaggle of fonts at no extracost This is a fascinating category of fonts that have many attractive features,but most Windows users don’t have them installed yet

We’ve assembled the lists in this chapter by referring to a Microsoft mini-search engine

on the Web This form catalogs every font the Redmond company has shipped withany of its software products in history If you’d like to see which packages you might beable to purchase to obtain particular fonts, query the form at www.microsoft.com/

typography/fonts/default.aspx

Displaying Font Samples the Fastest Way

First of all, let us explain the meaning of the following cryptic sentence, which you’ll find

in the font listings that follow:

Mr Jock, TV quiz Ph.D., bags few lynx.

This is the shortest grammatically correct sentence that uses every letter in the Englishalphabet at least once Actually, it’s tied for shortest (more on that in a moment) There can’t

be one that’s shorter, because the sentence above uses each of the 26 letters exactly once

William Gillespie, who collects these isogrammatic pangrams — nonrepeating sentences

that use every letter — explains that the sentence above was discovered by one ClementWoods As a phrase, the pangram could be interpreted to mean, “Jock has no time forhunting game animals because he’s busy showing off his doctoral degree on gameshows” (see www.spinelessbooks.com/table/forms/pangram.html)

We’ll be the first to admit that, although it may be a perfect pangram, it isn’t necessarily

an ideal way to display font samples But it is blessedly short That allowed us to make

each font as large as possible and still fit on a single line across the page

And it’s a more coherent sentence, you’ll have to admit, than the alternatives that were sented to us at Gillespie’s site (http://rinkworks.com/words/pangrams.shtml) and elsewhere:

pre-XV quick nymphs beg fjord waltz.

Blowsy night-frumps vex’d by NJ IQ.

Now, without further ado, let’s find out which fonts people actually have

tip



Trang 8

Figure 7-7 illustrates those fonts that you can say with confidence, “Every Windows userhas these fonts.”

Figure 7-7:The fonts everyone has Have you seen these fonts? Sure Windows has included anice basic variety for many years There are solid sans-serif and serif fonts, two monospaced

fonts, an early Unicode font, and three pictorial (symbol) fonts.

Arial and Times New Roman are well known as the most widely used fonts in Windows Lucida Sans Unicode is, in truth, the most interesting font in this bunch The version

installed in Windows XP contains more than 1,700 characters

That pales in the face of Arial Unicode MS, which can render more than 50,000 glyphs.

This font, unfortunately, has never been included in any version of Windows, only as part

of Microsoft Office 2000 and higher, which not everyone owns

Arial Unicode MS also wasn’t included in beta copies of Windows Vista, althoughMicrosoft could always change its mind and add it in We think Microsoft should widelyand freely distribute this font so most people will eventually have it installed

Trang 9

Until then, if you want to be sure your readers can see some little-used character from the

WGL4 set, Lucida Sans Unicode probably has the glyph — and you know the font is

installed everywhere

The Fonts Virtually Everyone Has

Figure 7-8 shows several fonts that were first installed by default in Windows 98 Moreimportant, they’ve been able to stick around in the operating system ever since that time

Figure 7-8:The fonts almost everyone has Since there are hardly any boxes running Windows

95 any more, the list in this figure, plus the ones in Figure 7-7, can be considered to comprise auniversal set of fonts that all Windows users, and most Mac users, have installed

Several other fonts have made an appearance in one version of Windows or another, only

to disappear without a trace thereafter (Remember Century Gothic? Four complete weightsappeared in Windows 98/Me and then went missing in every future version Licensingsnafus? Greedy font owners? Cheapskate software billionaires? Who knows.)

Tahoma was introduced as the user-interface font for Office 97, continuing that role in

Office 2000/XP/2003 It became the user interface font for Windows 98, too, and has heldthat position until Vista came out

Verdana is the sleeper in this group It’s a slightly expanded version of Tahoma and has

attracted many adherents among Webmasters, who believe it’s more readable on-screenthan Arial Actually, Verdana does have wider lowercase characters, which look muchbetter on-screen at 8 pt than does Arial The old stalwart Arial, however, prints moregracefully than Verdana and looks better on-screen as well, at sizes of 10 pt and above

Fonts installed on almost all Windows PCs (98, Me, 2000, XP, and Vista)

Arial Black

Mr Jock, TV quiz Ph.D., bags few lynx.

Comic Sans MS (with bold)

Impact

M r Jock, TV quiz Ph.D., bags few lynx.

Tahoma (with bold)

Mr Jock, TV quiz Ph.D., bags few lynx.

Verdana (with bold, italic, and bold italic)

Mr Jock, TV quiz Ph.D., bags few lynx.

Webdings



Trang 10

Windows 2000, and especially Windows XP two years later, established Georgia and Trebuchet MS as fonts that will have long lives and large installed user bases.

These two faces were part of the “Core Fonts for the Web” package, 11 families of type(most with four full weights) that Microsoft freely distributed at that time This wasdesigned to encourage Webmasters to specify more legible fonts on their pages It seems

to have worked quite well, since many now use some new-core font, especially Georgia,with Times as a fall-back selection

By contrast, MS Sans Serif is uninteresting It has no WGL4 characters, not even the

“mid-dle ANSI” set, and it has no weights other than roman

Figure 7-9:The fonts most Windows users have Systems running Windows 2000, XP, andVista include these fonts

The other Core Fonts for the Web — Arial, Arial Black, Comic Sans, Courier New, Impact,Times New Roman, Verdana, and Webdings — are files that most Windows users alreadyhave and don’t need to download again Microsoft gave these faces away primarily toexpand the installed base of these fonts to Apple users (OS X supports both TrueType andOpenType fonts) and Windows 95/98 users who’d never received the fonts by upgrading

to Internet Explorer (IE) 5

Fonts installed on most Windows PCs (2000, XP, and Vista)

Georgia (with bold, italic, and bold italic)

Mr Jock, TV quiz Ph.D., bags few lynx.

Microsoft Sans Serif

Palatino Linotype (with bold, italic, and bold italic)

Trebuchet MS (with bold, italic, and bold italic)

Mr Jock, TV quiz Ph.D., bags few lynx.

Trang 11

The most purely practical face in the Core Fonts for the Web group is Andale Mono.

This font has a minor cult following among Windows developers, who prize it for itsfixed monospacing and the dot inside its numeral 0 (This makes it easy to distinguishfrom the letter O when plowing through dense thickets of code.)

Strangely, Andale Mono was included with the standalone Internet Explorer 5 downloadand the Core Fonts, but it’s done a disappearing act since then It’s never been included

in any version of Windows, despite the font’s usefulness as a super-legible font

See “You Can Still Get the Core Fonts That MS Pulled” elsewhere in this chapter to findfont samples and current download locations for Andale Mono

tip



You Can Still Get the Core Fonts That Microsoft Pulled

Microsoft withdrew the 11 type families of the Core Fonts for the Web from its site in

2002 If you have a computer that lacks any of the fonts in this set, however, you canstill download them from the Internet for free

SourceForge.net, a hub of open-source development activity, noted that the licenseagreement of the Core Fonts states that the fonts can be freely distributed along withany programming project SourceForge is a giant programming project (perhaps notexactly what Microsoft had in mind, though) So all 11 families are packaged up asself-extracting executables ready for installation at http://sourceforge.net/project/ showfiles.php?group_id=34153&package_id=56408&release_id=105355

To look at samples of the fonts before downloading them, go to www.serbski-institut de/wgl4fonts.htm

Secret

Don’t install these 2000-era fonts if you already have them installed in your font list

Windows XP and Vista have newer versions of these fonts, which include slightly better

character sets, hints, and so forth Install these font packages only if you don’t already

have a certain typeface family, as would be the case for some users of Windows95/98/Me, Mac, and Linux

The New Vista Font Collection

Windows Vista introduces a rather high number of new fonts for a new release ofWindows

It isn’t the champ According to Microsoft’s font query form that we mentioned earlier,Windows 2000 added 90 new font files (counting bold, bold italic, and other weights asseparate files) that had never before appeared in Windows Vista adds only 44 new files.But many of the new fonts in Windows 2000 were dedicated to particular languagegroups, such as Simplified Arabic, Rod (Hebrew), and SimHei (Asian), which mostWindows users in Europe and the Americas will never need

caution

Trang 12

This allows us to place together the serif, sans-serif, and user interface fonts.

Figure 7-10:Important new fonts for Latin and Roman language groups in Windows Vista Notshown here are Meiryo (Japanese and Latin) and Cariadings, a symbol font

Western fonts that are new to Vista

Cambria (with bold, italic, and bold italic)

Constantia (with bold, italic, and bold italic)

Calibri (with bold, italic, and bold italic)

Candara (with bold, italic, and bold italic)

Corbel (with bold, italic, and bold italic)

Consolas (with bold, italic, and bold italic)

DaunPenh

Segoe UI (with bold, italic, and bold italic)

Segoe Print (with bold)

Segoe Script (with bold)

Trang 13

The New C Fonts

By far the most important of the new fonts are six typeface families, the names of whichall begin with the letter C

The development of these new type families was a fairly big deal within Microsoft Theproject took two years, from January 2003 to November 2004, according to the company.The design goal was to develop fonts from the ground up that would take maximum

advantage of ClearType ClearType is a technique, enabled by default in Vista, that

makes the edges of type look smoother on digital LCD screens (This has its downsides;see the Secret section titled “Vista’s New Fonts Aren’t Hinted” later in this chapter.)Microsoft contracted with a variety of type designers to create the C families and twoother new fonts:

 Calibri and Consolas— Lucas de Groot, The Netherlands

 Cambria— Jelle Bosma, The Netherlands

 Candara— Gary Munch, U.S

 Constantia— John Hudson, Canada

 Corbel— Jeremy Tankard, U.K

 Meiryo (Japanese)— Eiichi Kono, Takehary Suzuki, and Matthew Carter

 Cariadings (dingbats)— Geraldine Wade, a ClearType program manager

A healthy visual balance among Latin, Greek, and Cyrillic characters was a significantobjective in the development of the C fonts Characters from the three different languagegroupings are intended to appear in proportion with each other when displayed together

on the same page This isn’t always the case for fonts that weren’t designed with suchcompatibility in mind

Similarly, the Meiryo font is designed for visual harmony when Japanese and Latin acters are mixed on the same line (see Figure 7-11)

char-Sources within Microsoft tell us that naming all the C fonts with the same initial letter was

a conscious decision It would be easier for Vista users to find the new fonts, it was felt, ifscrolling to C in a Fonts drop-down box displayed the new fonts in close proximity

In reality, giving all these fonts names that are so similar makes it very hard for people toremember which font is which Follow with us, then, as we explain how to tell these fontsapart and how to put them to their best use

The Serif Fonts

Cambria and Constantia are the two new serif fonts Cambria is a bit more like Times

New Roman in design, whereas Constantia tends more toward Palatino

We help ourselves remember which of the two C fonts are the serif ones using this gerel phrase: “I drove my Camry to Constantinople.”

dog-

Trang 14

Figure 7-11:Meiryo was designed so that Japanese and Latin glyphs, when used together, arevisually in balance, as shown in the WordPad window at right You can use CharMap.exe, shown

at left, to find which glyphs are located at which positions in any TrueType or OpenType font

The Sans-Serif Fonts

Calibri, Candara, and Corbel are the three new sans-serif fonts

 Calibriis the most like Arial

 Candarais more like Optima, with strokes that slightly curve or flare whenviewed at larger sizes We remind ourselves that Candara has flared strokes bythinking: “Candara is tapered like a candle.” (Its strokes are tapered in, not outlike a candle, but still.)

 Corbelis the sans-serif font that may have the greatest application on Webpages and in small sizes It’s the most like Verdana in this respect

Corbel has wide, open letterforms This is especially true in the open tail of thelowercase g, which doesn’t close as in most other fonts, and the lowercase u,which has no final downward stroke on its right side but merely curls upward,like a bowl Characteristics such as these should make this font clean and read-able onscreen, even when used in relatively small footnotes and the like

DaunPenh, the Graceful Font

DaunPenh is a graceful serif face that would be ideal for long blocks of text, as in a

book-length work It’s more like the writings of a calligraphic pen (Penh, get it?) than any of theother Vista fonts

Unfortunately, DaunPenh (as of this writing) is available only in roman in its Vista nation, with no italic or bold weights This severely reduces its usefulness in documents.Unless Microsoft provides these additional forms of emphasis, DaunPenh is likely toremain a typographical curiosity and won’t be widely used

Trang 15

incar-The Segoe Fonts

Segoe UI is the new user-interface font in both Windows Vista and Microsoft Office 2007.

Unlike the UI fonts that were previously employed in Windows XP and Office, Segoe UIsupports bold, italic, and bold italic weights This means you might use this font in docu-ments, like any other font

Segoe is pronounced see-go This name appears to be a nod to the font’s use in Windows

Vista and Office menus (See and go.)

Segoe Print and Segoe Script are slightly slanted fonts that resemble hand printing and

handwriting, respectively

These pen-drawn fonts have nothing visually in common with Segoe UI It was a terriblemistake to give these whimsical fonts such similar names to Vista’s no-nonsense user-interface font

However, aside from the confusion over the names, Segoe Print and Script (and their boldweights) are likely to replace Comic Sans MS as Windows users’ favorite handwriting-imitation fonts For one thing, Segoe Print and Script look a lot more as though someonemight actually have written the words by hand Like Comic Sans MS, Segoe Print andSegoe Script have bold weights but no italic or bold italic weights



Vista’s New Fonts Aren’t Hinted

The new Windows C fonts and the Segoe UI user interface font are welcome tions But they may look blurry to you on screen because they don’t use black-and-white or grayscale hints like Microsoft’s previous TrueType fonts Instead, they’redesigned to look best on an LCD screen with the ClearType feature of XP and Vistaturned on

addi-Microsoft insiders say the new Vista fonts weren’t hinted because it’s very expensive,and the company didn’t want to spend the money In addition, the fonts wouldn’thave been ready to ship with Vista because of the time required for hinting, thesesources say Microsoft extensively hinted such TrueType stalwarts as Arial, Times NewRoman, and Verdana in years past when widespread adoption of these new fonts was

a top priority for the company

ClearType is best at making fonts look clearer on screen only if all of the following aretrue:

• The display is an LCD screen, not a CRT

• The LCD is using a digital, not an analog, interface

• The LCD is running at its native resolution, not higher or lower

• The display is using true color (24-bit or higher, not 16-bit or 8-bit)

• ClearType is tuned to the LCD’s resolution, striping format, and gamma value

ClearType is enabled (ClearType on a fresh install defaults to on in Vista and off

in XP; it’s unavailable in Windows NT, 2000, 95, 98, and Me)

If any of these conditions is not met, ClearType fails to function with no warning tothe user In that case, fonts that depend on ClearType smoothing, and are not hinted,simply look worse

Secret

Trang 16

If these steps don’t help, you may need to configure Vista to use a font other thanSegoe UI for its user interface At this writing, it’s unclear (no pun intended) to whatextent Vista and Office 2007 will allow that As a last resort, you can move the Segoe

UI font files from C:\Windows\Fonts to another folder you create, such asC:\Windows\UnusedFonts (You may need to move the fonts in a command promptwindow, since Vista doesn’t allow moving fonts in the Control Panel.) Without delet-ing the fonts, moving them makes them unusable by Windows, in which case menusmay fall back to a TrueType font that is well-hinted, such as Arial or Verdana

Microsoft provides the following greatly magnified illustrations (Figure 7-12 andFigure 7-13) of how hinting and ClearType smoothing work:

Figure 7-12:TrueType hinting is a form of grid fitting The outline of each TrueTypecharacter is adjusted so the strokes fall more directly on a screen’s grid of pixels

This makes letters more symmetrical and easier to read

Figure 7-13:ClearType smoothing uses subpixel addressing An LCD screen ismade up of vertical stripes of red, green, and blue Tiny sectors of each stripe,smaller than a pixel, can be lightened or darkened to make characters looksmoother

More information on hinting and ClearType is provided at www.microsoft.com/ typography/TrueTypeHintingIntro.mspx and www.microsoft.com/typography/ ClearTypeInfo.mspx

Trang 17

What If Your PC Doesn’t Have the Vista Fonts?

Microsoft hasn’t exactly said at this writing how computer users other than users ofWindows Vista will be able to get the new C and Segoe fonts Since they’re ordinaryTrueType/OpenType fonts, however, they’ll work on any flavor of Windows from version3.1 up, any recent version of Apple Macs, and any build of Linux that supports the

ttmkfdir command (which displays a file directory of any TrueType fonts that areinstalled)



Moving TrueType Fonts

If you have a Windows Vista machine and a licensed copy of a previous version ofWindows on any other machine, you can move the new Vista fonts from onemachine to the other

If the two PCs are on a local area network, open the Fonts control panel on the PCthat doesn’t have the fonts Select Install new font, then click the Network button, andnavigate to the C:\Windows\Fonts folder of the Vista machine Select the C andSegoe fonts, then click Install The fonts should immediately become available

If the two PCs aren’t networked, you can move the individual font files from the Vistamachine to a USB Flash drive or writable CD Do this at a command prompt if it’s notpossible in the Fonts control panel or Windows Explorer Insert the drive or CD intothe other machine, then select Install new font in the Fonts control panel to install thefiles to the C:\Windows\Fonts folder of that machine

For example, the files for Calibri (including bold, italic, and bold italic) are namedCalibri.ttf, Calibrib.ttf, Calibrii.ttf, and Calibriz.ttf Installing these files to the Fontsfolder should make them immediately available, without a system reboot or evenclosing and reopening any applications Just pull down a Fonts menu to see that thenew fonts are there

Moving TrueType fonts to a folder other than C:\Windows\Fonts (if you ever need to

do this) makes the fonts immediately unavailable to Windows and all applications

At this writing, the capability of Vista’s Fonts control panel to move fonts (as opposed

to installing them from a separate location) was in flux For more details, see

http://blogs.msdn.com/michkap/archive/2006/08/27/726378.aspx

Secret

Who’s Running Which Versions of Windows?

Now that you know which fonts are included in each version of Windows, you can do asimple calculation to see which fonts are installed on most people’s computers

A study by AssetMetrix of businesses in the United States and Canada in June 2005 foundthat companies were using the various flavors of Windows in the proportions shown inTable 7-1

Trang 18

Windows XP 38 percent

These figures suggest that the vast majority of business users were running Windows

2000 or XP before Vista became available Since Microsoft’s support for Windows 2000has expired since the study was done, XP has replaced Win2K in many businesses

What about consumers, however? To measure the use of different operating systems byall individuals, TheCounter.com monitors the different operating systems used by people

to browse to a variety of web sites The proportions found in March 2006 are shown inTable 7-2

Table 7-2: About 82 Percent of All Internet Users Had Windows XP Installed

Trang 19

seri-Knowing that the figures aren’t exact, we still think it’s safe to make the following statement:

If you’re distributing a document that will be viewed or printed by other people, use the fonts that are found in Windows 98 and Macs This means your fonts will be visible to about 98 percent of computer users.

That boils down to the fonts we show in Figures 9-7 and 9-8 It’s an okay selection but not,frankly, a great selection

What if you’d like to prepare and distribute documents using fonts that are a bit moreexciting and updated? See “The document you save could be your own” tip

The document you save could be your own.

You can make sure your word-processing .docfiles and other documents can beviewed and printed with the fonts you selected intact if you follow these rules:

Case 1 You’re the only person who’ll be editing, viewing, and printing the

doc-ument If you’re just planning to print copies of a document and distribute hard copies

of it to others, use any dang fonts you want If it looks okay to you on-screen and itprints okay, you’re fine

Case 2 You’re going to distribute the file only within your department Let’s say

you want the file you create to be viewed, edited, or printed by people other thanyourself If those people are all close co-workers, and you know they all use at leastWindows XP or Vista, go ahead and use in the document any of the fonts that arefound in XP

You could also save your document using the new Windows Vista XML PaperSpecification (XPS) format If anyone in your department doesn’t use Vista, they’ll needWindows Server 2003 or XP SP2 and higher and must install Microsoft’s WinFX viewer(www.microsoft.com/whdc/xps/default.mspx)

Case 3 You’re going to distribute the file widely If the file will be viewed or

printed by people you may not know, you can’t guarantee which fonts they’ll haveinstalled Therefore, you need to save the document with the fonts intact (This is called

embedding the fonts.) Many applications support a command to do this In Microsoft

Word and PowerPoint, for example, click Tools➪Options On the Save tab, turn on

Embed TrueType fonts Most TrueType fonts are embeddable (In the worst case, a

document using embedded fonts can be viewed and printed by recipients but notedited.) You can check fonts in advance using the Embedding tab in Microsoft’s freeFont Properties Extension (www.microsoft.com/typography/TrueTypeProperty21.mspx)

Case 4 You’re going to distribute the file on the Internet To make sure a

docu-ment that will be accessible worldwide will use the fonts you selected, you’ll need tosave it as a PDF file using Adobe Acrobat or a compatible program Anyone can openand print the file using the free Adobe Reader, which runs on Windows, Macs, Linuxand other computers (www.adobe.com/products/acrobat/readstep2_allversions.html)

tip



Trang 20

to find out which fonts they actually have installed (as opposed to which fonts they should

have installed)

This Web-based survey asks visitors to look at a specific font sample and compare it totheir default browser font If the two look different, the user clicks a box saying, “Yes, thefont is installed.”

This kind of survey has all of the problems that are typical of asking people’s opinions(rather than, say, simply spying on them without their knowledge) But it’s a start towarddefining a minimum set of TrueType fonts that virtually all web surfers can be assumed tohave

We’ve assembled in Figure 7-14 a list of every font that the CodeStyle.org survey found inmid-2006 was reported to be installed by more than 90 percent of Windows, Mac, or Linuxusers The columns show the percentage of each group who say a particular typeface ispresent on their systems In the figure, the faces are sorted in descending order of thethree columns’ average

Figure 7-14:Web-safe fonts More than 90 percent of all Windows, Mac, and Linux userssurveyed by CodeStyle.org say they have Courier or Courier New installed “Too few” means notenough users reported having a font for it to show up in the survey’s results

Looking at Figure 7-14, it’s clear to us that Times New Roman (which is almost universallyinstalled in every version of Windows) is way under reported in the survey This is proba-bly because many people use it as the default font in their web browsers They wouldn’tsee a difference between CodeStyle.org’s font sample and their default, so they might notreport that Times New Roman is installed (although many users would correctly guessthat it actually was present)

Trang 21

The Most Web-Safe Font Is Courier (Yuck)

Folks, we have a winner! Based on the figures from CodeStyle.org’s web survey, the mostweb-safe font you can specify on HTML pages is Courier New, with Courier specified as

a fallback (A very similar font that uses the shorter name Courier is more prevalent inMac and Linux systems than Courier New.)

Unfortunately, we can’t recommend that you use Courier or Courier New as the primarytext font on a web page you care about — even if Courier was the only typeface on Earth.Courier New is such a lightweight typeface that it’s very hard to read An old story goes thatMicrosoft originally got the design by copying an IBM Selectric typewriter ball But withoutthe spreading of ink that occurred when the metal ball hit a piece of paper, all that wascopied was a very thin, spindly set of strokes It’s probably not true, but it’s a great story

So forget about using Courier for the text of your Web pages Instead, specify the ing web-safe fonts if you need sans-serif, serif, or monospaced fonts (Remember, HTMLallows you to specify a series of font names Every browser will go through the list, dis-playing the first font that a user actually has installed.)

follow-Web-Safe Sans-Serif Fonts

To specify a sans-serif font for your Web pages in HTML, use the following list, specified

in this order:

ArialHelveticaVerdanaTrebuchet MSsans-serifMany people think that all sans-serif fonts look alike But Verdana and Trebuchet give aweb page a sharply different look than do Arial/Helvetica (which are, in fact, very similar)

If you want, feel free to specify Verdana or Trebuchet as first in your list But be sure tolook at sample pages using each of these fonts first You might or might not like the effect

of an entire web page set in either of these fonts

In HTML, specifying serif as the last font in the list ensures that a user’s default

sans-serif font will be used to display your page, if none of your named fonts are installed Youmay think that’s unlikely, with fonts that are as widely installed as Arial and Helvetica.But you never know for sure

Web-Safe Serif Fonts

To specify a serif font in HTML, use the following list:

Times New RomanTimes

GeorgiaserifAgain, feel free to specify Georgia as your first choice, if desired Just test a few samplepages first



Trang 22

CouriermonospaceWhat?! We’ve gone and broken our own rule of specifying as your first choice the fontthat’s the most prevalent among all kinds of computer users.

That’s because Courier New is so ugly, ugly, ugly, and hard to read And did we mentionthat it’s ugly?

Lucida Console is a much stronger font, with an even tone that makes fixed-pitch materialmore pleasant to read It may not be present on a lot of Mac and Linux users’ machines.But they can fall back to Courier in their browsers and still read the monospaced section

of your page just fine

For a list of the number of glyphs present in different Windows fonts, and the languagegroupings that each font supports, visit David McCreedy’s Gallery of Unicode Fonts at

www.travelphrases.info/gallery/views/all_fonts.html

Don’t Use the Symbol Font in HTML

You may be tempted to specify one of the Windows symbol fonts, such as Symbol orWingdings, in an HTML document on the Web Don’t do it

Some people who are putting together a web page say to themselves, “I need to display a

symbol for some beta software, so I’ll use the Greek letter beta that’s in the Symbol font.”

Then they write something like the following in their code (HTML 4.01 is shown):

<font face=”Symbol”>b</font>

This might work in Internet Explorer on a Windows box But it’s likely not to work in

Internet Explorer on the Mac, or in Mozilla, Firefox, Netscape, Opera, or other browsersthat support web standards As likely as not, your page will show a blob or nothing at allwhere you’ve indicated a “Symbol b.”

What you’re saying to standards-based browsers with an HTML line like the precedingone is this: “Give me LATIN SMALL LETTER B and look for it in the font named Symbol,

if the user has it.”

Unfortunately for you, the Windows Symbol font doesn’t include a shape known as LATINSMALL LETTER B That’s why you sometimes get results you don’t like on your page.The Symbol font does include a shape known as GREEK SMALL LETTER BETA To makebrowsers display that glyph, which is the Greek beta symbol you want, you should spec-ify it in your HTML code using its decimal Unicode number In HTML 4.01, that looks likethis if your page uses Arial as its text font:

<font face=”Arial”>&#946;</font>

tip

Trang 23

The ampersand, hash sign, the number, and the semicolon tell browsers exactly whatglyph you want There are many other ways to specify the same thing and get it to work.But this isn’t a book on coding in HTML, it’s a book on using Vista Since so manyWindows users build their own Web pages, however, we wanted to alert you to this con-fusing bit of HTML lore.

You can look up the decimal number for many Unicode characters in Figure 7-6 earlier inthis chapter Or you can check Alan Wood’s detailed Web listings of the Unicode equiva-lent for every character in Windows’ Symbol font at www.alanwood.net/demos/ symbol.html A separate page provides the Unicode positions for many of the dingbatsfound in Windows’ Wingdings font: www.alanwood.net/demos/wingdings.html Every spe-cial Wingdings character isn’t represented in Unicode yet, but a lot of them are You candisplay these symbolic characters much more reliably in your web pages by specifying afont that includes Unicode’s range of symbols and punctuation

Unicode supports thousands of such symbols — far more than Windows’ Symbol,Wingdings, and Webdings fonts combined To see charts filled with them, visit theUnicode Consortium’s page on symbols and dingbats, www.unicode.org/charts/

symbols.html

For a list of the most useful Unicode symbols, see Appendix A

What Are the Fonts with the Funny Names For?

Vista includes dozens of fonts that aren’t mentioned in the previous sections These fontshave unfamiliar names such as Andalus, Iskoola Pota, KaiTi, and Narksim

These fonts are included in Vista primarily to support language groups other than Latin,Greek, and Cyrillic (in other words, other than Western and Eastern European)

For the first time with the release of Vista, users don’t have to select individual languagegroups when installing the operating system in order to get the fonts needed to renderevery language that Windows supports Multilingual support is automatically installed.Unfortunately, this makes for a very long font list in the drop-down boxes of Vista andapplications running on Vista Finding the font you want may be a frustrating exercise inscrolling

The Mac has for years had font suitcase capabilities that allow users to bundle fontstogether into frequently used and infrequently used groups Windows still has nothinglike this Unless you purchase or download a specialized suitcase utility for Windows,you’ll need to scroll down a long set of options whenever you want a particular font

We were, thank heavens, able to obtain from Microsoft a list of which fonts support whichlanguage groups (Table 7-3) At least you can look through our list and mentally eliminatethose fonts that don’t really fit your desired language group — until Microsoft providesfont-suitcase capabilities in Windows

cross ref tip



Trang 24

results Most speakers of European languages will need to use only the fonts listed inthe Latin/Greek/Cyrillic and Symbols categories of Table 7-3.

Why does Vista need, say, 14 Thai fonts? Just as the Latin alphabet is supported by sands of different fonts, Windows users in language groups around the world have usedmany different fonts to create documents To ensure that these documents will displayand print in Vista the same way they did in older versions of Windows, Microsoft mustinclude all of the older fonts

thou-Table 7-3: Which Vista Fonts Are Designed for Which Language Groups

Latin/Greek/Cyrillic Fonts

Font Name Primary Scripts Other Scripts

Cambria & Cambria Math Latin, Greek, Cyrillic Math

Comic Sans MS Latin, Greek, Cyrillic

Franklin Gothic Medium Latin, Greek, Cyrillic

Lucida Console Latin, Greek, Cyrillic Lucida Sans Unicode Latin, Greek, Cyrillic Hebrew, Math, SymbolsMicrosoft Sans Serif Latin, Greek, Cyrillic Hebrew, Arabic, ThaiPalatino Linotype Latin, Greek, Cyrillic

(continued)

Trang 25

Table 7-3 (continued)

Latin/Greek/Cyrillic Fonts (continued)

Font Name Primary Scripts Other Scripts

Times New Roman Latin, Greek, Cyrillic Hebrew, ArabicTrebuchet MS Latin, Greek, Cyrillic

Symbol Fonts

Font Name Primary Scripts Other Scripts

Marlett Symbols Symbol Symbols Webdings Symbols Wingdings Symbols

Arabic Fonts

Font Name Primary Scripts Other Scripts

Andalus Arabic

Chinese, Japanese, and Korean Fonts

Font Name Primary Scripts Other Scripts

FangSong_GB2312 Chinese, Simplified Latin, Greek, Cyrillic, Hiragana, Katakana

Microsoft YaHei Chinese, Simplified Latin, Greek, Cyrillic, Hiragana, Katakana

SimHei Chinese, Simplified Latin, Greek, Cyrillic, Hiragana, KatakanaSimsun, NSimsun Chinese, Simplified Latin, Greek, Cyrillic, Hiragana, Katakana



Trang 26

MingLiU-ExtB, Chinese, Traditional LatinPMingLiU-ExtB,

MingLiU_HKSCS-ExtB

MS UI Gothic

Gungsuh, GungsuhChe Gulim, GulimChe, Dotum, Korean Latin, Greek, Cyrillic, Hiragana, KatakanaDotumChe

Hebrew Fonts

Font Name Primary Scripts Other Scripts

FrankRuehl Hebrew Latin

Indic Fonts

Font Name Primary Scripts Other Scripts

(continued)

Trang 27

Table 7-3 (continued)

Indic Fonts (continued)

Font Name Primary Scripts Other Scripts

Kalinga Oriya Latin

Gautami Telugu Latin

Thai Fonts

Font Name Primary Scripts Other Scripts

IrisUPC Thai Latin

LilyUPC Thai Latin

Fonts for Other Language Groups

Font Name Primary Scripts Other Scripts

DaunPenh Khmer Latin



Trang 28

MV Boli Thaana

Aboriginal Syllabics

How to Get the Best Free Fonts

Despite all the new fonts included with Windows Vista, you can give your documents afresh look if you investigate and employ other fonts that are out there that most Vista

users don’t have.

Unfortunately, if you query a search engine for free fonts, you’re likely to get a huge list

of web sites that have truly horrible products These include decorative, novelty, and tasy typefaces that might be useful once in a rare while — a haunted house party, forexample — but should never be used in most documents There’s nothing wrong withnovelty fonts, if they’re well done — but most such fonts aren’t

fan-What you should look for, even in free fonts, are typefaces with at least four weights:roman, bold, italic, and bold italic These fonts should be hinted so they look good onscreen and when printed on an ordinary inkjet or laser printer

Avoid fonts that don’t have a full complement of weights or seem to be hasty rip-offs ofprofessional typeface families There are many good-quality free fonts to be had If youneed to buy commercial, licensed fonts, there are many affordable options for sale (as weexplain later in this chapter)

The 20 Best Free Fonts

Vitaly Friedman compiles what is arguably the best list, complete with sample images, ofhigh-quality TrueType and OpenType fonts that are free for the downloading

Friedman’s lists fluctuates over time between about 20 and 25 winners, as he periodicallyadds new fonts and deletes fonts that turn out to be stolen copies of commercial fonts It’sfascinating to visit his list every few months and watch the ebb and flow of type designs,which Friedman treats as his personal friends

At this writing, Friedman’s No 1 font selection is named Delicious, shown in Figure 7-15.This is a graceful and professionally drawn font by Jos Buivenga of the Netherlands.Delicious has all the attributes you want in a free font (or any font): a full range of weights —even an extrabold, heavy weight — and characters that are well-formed enough to work insmall sizes, such as a document’s footnotes

Trang 29

The font also has the unusual characteristic that a word or sentence is always the samelength, whether the roman, bold, or heavy weight is selected (as shown at the bottom ofFigure 7-15) This can be useful if you want to make certain lines of a document bold ornonbold, depending on other variables, without any of the line breaks changing.

Figure 7-15:A Font named Delicious This typeface family, which can be downloaded free,shows the qualities that make a font worth having (unlike many free fonts, which are garbage).Friedman’s list of the best free fonts is at www.alvit.de/blog/article/20-best-license-free- official-fonts Buivenga’s site, which also offers another free sans-serif font named Fontin,

is at www.josbuivenga.demon.nl/delicious.html

Other Free Font Lists

Some other collections of high-quality free fonts — many of which are linked to fromVitaly Friedman’s site — include the following

 Manfred Klein’s Fonteriahttp://moorstation.org/typoasis/designers/klein03/ index.htm

 Designer in Actionwww.designerinaction.de/fonts/show.php?art=fonts

 Typemotionwww.typemotion.de/_typographie/lacuna.php

 Apostrophic Laboratorieshttp://apostrophiclab.pedroreina.net/

 Identifontwww.identifont.com/free-fonts.html



Trang 30

ice If you’re trying to match a font you’ve seen, but you don’t know its name, how can youobtain the font? The answer is to click the fonts by appearance tab at Identifont, specifywhich characters you have a sample of, and answer a few simple questions.

These questions include the shape of the lowercase letters, the thickness of horizontal andvertical strokes, and so forth The site then displays a few fonts that match your answers.Even if the exact font you want isn’t in the results, one of the alternatives may perfectly fityour needs

The Best Free Scientific Fonts

If you write scientific or mathematical papers, you probably need a specialized font withcharacters that aren’t natively found in Windows Vista, even with its vast collection ofsymbols in the Lucida Sans Unicode font

The answer to this problem is STIX Fonts, a project of the nonprofit Scientific andTechnical Information Exchange Organizations that belong to this consortium includethe IEEE (Institute of Electrical and Electronics Engineers), the American Institute ofPhysics, and others that publish scientific journals

STIX Fonts include more than 5,000 glyphs, all of which use the numbering conventionestablished by Unicode

For more information and to download fonts, see http://stixfonts.org

The Best Programmer’s Fonts

Software developers are wild about monospaced fonts These are fonts in which every

character — even i and w and all of the uppercase letters — are exactly the same width You might think that proportional fonts — in which i and w are different widths — would

be easier for developers to read But the fixed-width of characters in code can help opers to spot misspelled variables, which may be longer or shorter than expected

devel-More importantly, developers crave monospaced fonts in which there are distinct ences between characters that look confusingly similar in, say, Arial This usually means,among other things, that a font designed for use by programmers must add a slash or adot to the numeral zero (0) to make it clearly different from the letter O

differ-Trevor Lowing, a software engineer and Navy reservist, defines these differences as lows (we paraphrase):

fol- Crisp, clear characters

 Extended character set

 Good use of white space

 Easy to distinguish the one (1), the lowercase “el” (l), and the uppercase “eye” (I)

 Easy to distinguish the zero (0), the lowercase “oh” (o), and the uppercase “oh” (O)

 Easily distinguished quote marks, apostrophes, and back-quote marks

 Clear punctuation characters, especially braces {}, parentheses (), and brackets []

Trang 31

Fortunately for programmers everywhere, Lowing has tested numerous monospacedfonts and rates them on his site: www.lowing.org/fonts.

At this writing, Lowing’s No 1-rated developer’s font is Bitstream Vera Sans Mono This is

a free monospaced font created by the well-known Bitstream typeface foundry SeeFigure 7-16 for a sample

For more information, visit www.gnome.org/fonts.Another site that rates developers’ fonts is maintained by Keith Devens, a PHP program-mer: http://keithdevens.com/wiki/ProgrammerFonts

Finally, if you need a font that’s been rated highly on several developers’ lists as clear andlegible, and you’re willing to pay a few dollars, get Andalé Mono WGL (The name is pro-nounced ON-da-LAY, Spanish for “let’s go!”) The Ascender Font Store offers a five-userlicense for this font for only $30 USD See www.ascenderfonts.com/

Figure 7-16:Bitstream Vera Sans Mono This monospaced font has been judged as one of thebest for programmers because of its fixed pitch and clearly differentiated characters

Try the free Windows Vista Consolas font Before you download a free monospacedfont or purchase a commercial one, try the Consolas font family that’s included inWindows Vista It not only has useful distinguishing features, such as a slash though thezero, but it also has all of the four weights commonly needed in documents: roman,bold, italic, and bold italic Lucida Console, which is included in every version ofWindows since NT 4, is an alternative if you need to share documents with others whomay not have Vista’s fonts (Lucida Console, however, doesn’t make its zero look differ-ent from its letter O.)

How to Get the Best Commercial Fonts

There’s nothing wrong with paying for fonts Sometimes, the perfect font isn’t availablefor free but only in commercial collections And professional graphic designers, of course,must keep their designs fresh by constantly purchasing the latest typefaces

If you’re not a design professional — you just want access to a broad selection of excellentfonts — then a commercial bundle of high-quality fonts is the answer

tip



Trang 32

What About a Condensed Font?

Windows Vista, and every Windows version in years past, has lacked a good set of densed fonts These are fonts that are narrower than typical fonts, which means you canfit more words on a line, in a spreadsheet cell, and so forth

con-One of the most versatile condensed fonts that Microsoft has ever shipped is named ArialNarrow This font, which is a rendition of the normal Arial font, but slightly compressed,coordinates well with other sans-serif faces Used sparingly, only where necessary, a table

of figures set in Arial Narrow may look no different to the layperson’s eye than the sametable set in Arial (which would be too wide)

Unfortunately, Microsoft has never included Arial Narrow in any build of Windows, noteven Vista The font — with a full range of four weights — has shipped only with MicrosoftOffice

If you have Office installed, and Arial Narrow is one of the fonts available to you, be ofgood cheer If not, you may need to purchase it commercially

The best price we’ve found for Arial Narrow is at Fonts.com, a subsidary of MonotypeImaging Monotype is the foundry responsible for Arial Narrow, so perhaps it makessense that the best deal on Arial Narrow resides there Even so, the cost to purchase allfour weights in Windows OpenType format is $104 at this writing (see www.fonts.com/ findfonts/detail.asp?pid=243201)

What About Font Utilities?

Now that you have all the fonts you need, you may some day want to look inside them,catalog them, and easily pluck characters from them

That’s what font utilities are good for The following sections list a few of our favorites

TrueType Viewer Tool

The TrueType Viewer Tool is a free utility developed by Rogier van Dalen (see Figure7-17) It opens TrueType and OpenLayout fonts and reveals everything there is to knowabout a font That includes its TrueType instructions, control points, and other technicaldetails

For more information, see http://home.kabelfoon.nl/~slam/fonts/truetypeviewer.html

Trang 33

Figure 7-17:TrueType Viewer Tool Rogier van Dalen’s free utility exposes the internals ofWindows fonts for close inspection.

The program is available for a 30-day free trial During this period, watermarks areincluded on any printouts you make and a dialog box occasionally suggests that you get apaid registration At this writing, the cost was USD$35 See www.neuber.com/typograph

PopChar

As a replacement for Windows’ limited CharMap utility, PopChar is a strong contender.The program has a resemblance to CharMap in that you can select special charactersfrom any installed font and insert them into your documents But PopChar does muchmore

PopChar remains in your System Tray, waiting for you to click on it When its windowappears, you click the special character you want and it immediately appears in the doc-ument you were just working in No copying and pasting needed with PopChar

The current price is USD$29.99 See www.ergonis.com/products/popcharwin/

Summary

In this chapter, we’ve tried to pull the curtain back from the mysteries of the fonts thatship with Windows Vista Hopefully, you’ll now be able to find and use any specializedcharacters that your documents may require



Trang 34

Part III

Security

Chapter 8: Windows Vista Security Features Chapter 9: New User Account Features

Ngày đăng: 10/08/2014, 13:20

TỪ KHÓA LIÊN QUAN