The Standard US Keyboard: Quick Reference

Update: 2010-04-04

text string added for more copy options

Web developers often encounter situations in which it is necessary to preview fonts. As technology develops and the restrictions are lifted on how fonts may be used on the web, web developers will be trying new things, which will require more testing.

For English speaking developers who have adhered to the core web fonts for so many years, a fortunate trade-off to that restriction has been the peace of mind that the MS Core Fonts support ISO-8859-1, the standard encoding for language characters of the Western European character set.

Outside of the very short list of serif and sans-serif typefaces commonly used in web design, it is not altogether uncommon that any given font-family might not contain all of the characters of ISO-8859-1, cp1252, or Windows-1252 (each, a recognized encoding of what is, essentially, an identical character set). In the context of ISO-8859-1, and the text sample below, I recall to mind the usual suspects, which include such commonly occurring characters as “brackets”– both square and curly, the “greater-than / less-than” symbols, and the octothorpe. Often it is the fantasy font-family, the highly-styled or derivative type face which we discover supports only the basic, alphanumeric symbols. While fantasy fonts may be best at adding personality in decorative placements, the omission of character glyphs commonly used in regular typed language tends to prohibit fantasy fonts, for instance, from showing up as the property value of a global stylesheet selector.

the Times, they are a Changin’

I created this text block as a quick reference cheat-sheet for identifying what characters may or may not be supported by any particular font family. The concept is simple. Use it, as is, in your own markup where different font-family values may be applied easily for testing basic character support.

  ~!@#$%^&*()_+
  `1234567890-=

  QWERTYUIOP{}|
  qwertyuiop[]\

  ASDFJKL:'
  asdfjkl;"

  ZXCVBNM<>?
  zxcvbnm,./

©2009 NoviceNotes™
©2009 J Sabarese

###########################################################################

Maintaining standards theory, the following is true of the primary text block, above:

  • total lines: 11 (eleven)
  • total lines containing text characters: 8 (eight)
  • total lines without text [CR/LF only]: 3 (three)
  • total new lines [CR/LF]: 10 (ten)

Eight Lines Equals Four Rows

Consider the eight rows of text in the sample, instead as 4 double-rows (or row pairs) to more easily correspond with the physical keyboard. Thus, each row pair (or double-row) represents one row of the standard US keyboard, where each member of a pair indicates the same keyboard row, either with or without depressing the <SHIFT> key (e.g. a single keyboard row is typed with <SHIFT> depressed, to represent uppercase characters, and likewise without for lowercase chars).

Carriage Returns and Line Feeds for Legibility

In addition to the newline control character at the end of every line (excluding the final line), each keyboard row pair is followed by an extra newline, so the keyboard rows are further separated visually, for enhanced legibility.

Note the Carriage Return, Line Feed pair which is “typed” by pressing the <ENTER/RETURN> key, may be definitively added to HTML in the Unicode, Numerical Character Reference form, &#x000A;&#x000D;

The Standard Keyboard Sample in Practice

Consider each of the four double-rows shown here as a set of characters
which represent a corresponding row of the physical keyboard.

(e.g. The topmost row of printed characters represents the topmost
row of the keyboard. The second group of characters from the top
begins with the characters “QWERT”, just as the keys in the row beneath
the top row of the keyboard, and so on.)

Why Are The Printed Characters Shown As Double Rows?

Beginning at the left, continuing from left to right, if each key of the
keyboard is pressed consecutively, only the bottom-row of each group
is printed.

The top-row of each double-row group represents the same keyboard row
as the bottom-row of its own printed group. The top-row differs from
the bottom-row, however, as the printed characters shown require
the SHIFT key be depressed while each of the keyboard keys are typed.

@2009 NoviceNotes™
www.NoviceNotes.Net

Use it

Depending upon what software utilities you might have for previewing the various fonts installed on your system, you might find it useful to copy the text sample above, and paste it into the appropriate text input field of the font preview software.

All in a Row

I realize it may be difficult to use the text block above, as provided. If you want to use the standard keyboard text (the <pre> section above) as a template for previewing font-family character support, you might encounter some bother in doing so (as I have, just before posting this update). While trying a different font management software, I learned that I can not copy and paste the Standard US Keyboard, <pre> block, as is, into my font-viewer software. The difficulty is caused by the line-breaks (i.e. the newline character [ \n ]), so I’ve provided a solution to work-around that sort of problem, though it kind of ruins my intended meaning for the Keyboard reference to resemble the appearance of the keyboard itself.

If your font-viewer software accepts a multi-line text-block, I suggest you use the <pre> section above, formatted as provided, for copying and pasting into the font-manager software user-text option, as is its intended purpose. If you find your font software accepts custom text for font previews, but the input dialogue does not allow line-breaks, I’ve done the work of copying the Keyboard Reference to a single-line, free of newline characters, so you won’t have to go about some tedious work of copying the template, one line at a time, into your custom text area. Note, if you encounter this single-line issue, the software is probably recognizing only that text which extends beyond the last line-break entered (i.e. in this case, the only line not followed by a line-break is the very last: [ zxcvbnm,./ ] ).

The following, single line of text is provided for anyone unable to enter multiple newlines through the custom text input of any font management software. Notice the line of text comprised of the Standard US Keyboard reference, is actually followed by one extra character, “¿”. The extra character is provided to help avoid copying newline characters to the clipboard. Highlight the entire line, without selecting the extra character. It’s okay if the single-line appears to wrap on-screen, here while highlighted, because the source itself has no line breaks (unlike the template, above, which is specifically designed to create line breaks in a copy / paste operation).

~!@#$%^&*()_+ `1234567890-= QWERTYUIOP{}| qwertyuiop[]\ ASDFJKL:' asdfjkl;" ZXCVBNM<>? zxcvbnm,./ ¿

The following software programs accept text input, and provide a convenient way to preview fonts with a custom text, like the US Keyboard-row characters transposed here.

For Windows
For Linux
  • Fonty Python – Python powered font preview tool, not unlike The Font Thing for Windows, it offers users the advantage of preferred fonts groups which may be installed or removal at any time, as a means to more easily maintain access to using a large collection of different fonts, without the disadvantage users might experience with traditional global installations when the selection of a custom font means the user must sort through a bloated list to find the preferred typeface, system-wide.

2 Responses to “The Standard US Keyboard: Quick Reference” »»

  1. Comment by NoviceNotes.Net | 01/14/10 at 02:07

    WARNING: I believe the comment (further below) has been posted by a bot. I’ve left it here, for purposes of Education, only. The following meta data was also reported by the alleged respondent.

    1. ksourcerer.org/Education/
    2. linux@ksourcerer.org
    3. IP Address (recorded by WordPress): 174.132.126.226
      Note: IP address is not reliable forensic evidence as it is too easy to spoof

    Consider the abbreviated, all-too-general use of the WordPress blog title element, instead of a definitive article reference. Moreover, consider the following concern, regarding the statistical analysis of malware distribution, (presumably) performed by the extensive technology afforded to the public, through Google™.

    Google Safebrowsing Diagnostic Report: ksourcerer.org [alleged comment author, this topic, submitted: 2010/01/10 at 9:36am ] The value of the href RE: Google Safebrowsing should direct the reader to the following location:

    http://google.com/safebrowsing/diagnostic?site=ksourcerer.org/&hl=en-us

    Please read the Google Safebrowsing report thoroughly. It is important to understand that the respondent (i.e. the comment posted below), and the data submitted by the respondent may not represent the same party, or individual. Specifically, in this case ksourcerer.org, could be completely unaware of the reports of malicious software / activity associated with the domain (i.e. as reported by the Google stats).

    Note: Unless you are certain of the contrary, then the following is probably true. You agreed to allow Google Safebrowsing to monitor your activity– allegedly– for the purpose of your own protection (i.e. don’t run with scissors! Don’t leave the lid up! Put the cap back on!). When you use Mozilla Firefox™ and, of course, Google Chrome™, (unless configured, specifically otherwise) your activity is monitored as the title suggests to keep you safe so, if it catches you doing something silly– as to load a URL– which you shouldn’t, an intervention occurs. Typically, when the user engages in dangerous browsing, and is thus is halted, Google Safebrowsing integration offers options. The user may heed the recommendation of Google Safebrowsing on intervention, as acting judge and jury in the case of the questionable URL, yet the user is ultimately allowed to proceed to the URL in question (e.g. on intervention, the user is presented with the statistical analysis of a suspicious URL, at which time he or she must decide either to return to the previous page, or proceed to the URL, at his or her will, against the discretion of Google Safebrowsing™).

    What did I do?:
    I have neither knowledge of the URL, nor any credible recommendation suggesting I visit the location. The warning was enough to prevent me from further investigation. I will not subject my network client software to ksourcerer.org until i am 100% confident that there is first a reason to do so. Secondarily, because of the statistical analysis of Google Safebrowsing (rather slanderous, I suppose), I will continue to consider the web site to be unsafe; that my system my be subject to malicious software, spyware, or even worse– on infection– to become an unknowing agent; a so-called mule; an aide in the general propagation of illicit activities by allowing my system to be transformed into a node for maintenance of someone’s botnet.

    Reader, you must educate yourself, and make your own decision in this, and any similar circumstance, please. We must improve our casual browsing habits if we are to reverse the negative impact of spammers, malware distributors, and others who may (or may not know) they are involved in the propagation of such activity.

    Be proactive to maintain the security of your own system, always be on the defensive when on the Network (i.e. the Internet / the WWW), and trust no one. Make it your rule of thumb, and maybe– someday– everyone will find a more pleasant on-line experience.

    Please don’t hesitate to add your own commentary on this (and other matters discussed at NoviceNotes™), especially if yours is not congruent with mine– for it is often the contrary opinion which helps everyone to gain the most clear understanding of the situation at large. Readers, and contributors, I sincerely thank you.

    Sincerely,
    -JS (Author: NoviceNotes™ | NoviceNotes.Net )

    JS

Trackbacks/Pingbacks »»>

  1. linux software…

    Your post on Learn How-to Develop Web Apps plus Entertainment Software and … was interesting….


Leave a Reply »»