DPCustomMono2 Font

From DPWiki
Jump to: navigation, search

DP Sans Mono has now replaced DPCustomMono2. If you are looking for the latest DP-created proofreading font, please use that instead.


In order to help proofers detect OCR text errors, Big Bill developed a custom font for DP called DPCustomMono2. You can read about the history of the font and why it was developed in the Custom DP proofing font thread.


Comparisons to other fonts

DPCustomMono is not very æsthetically pleasing. Its main value comes from the stark distinction between characters that may look alike in other fonts – such as 1 ("one"), l ("ell") and I ("eye").

A sample of the font has been prepared as well as comparisons to other fonts.

Available Without Download as Proofreading font

DPCustomMono2 has been made available as a web font since October 2018. This makes the font available in all modern browsers without downloading and installing it on your local system. No action is required on your part to use this font beyond selecting it in your user preferences.

  1. Go to your Preferences page.
  2. Select DPCustomMono2 as the FontFace from the list of Fonts.
    • There are two sets of proofreading interface preferences: vertical layout options are on the left half of the screen and horizontal are on the right. Be sure to change the one that you use (or just change both to be sure). Both will show a sample of some of the characters in the selected font.
  3. Save your preferences!

Installation Instructions

As mentioned above, you do not need to install the font on your computer for use with the DP website, including proofreading.

To install and use the font locally for Post-Processing or other non-proofreading uses, the general steps are:

  1. Download the font to your computer.
  2. Install it (or otherwise set up your operating system to recognize it).

Download

You can download the font file to your computer by right-clicking here and choosing "Save Target As..." or "Save Link As...".

Operating System Setup

After downloading the font, you'll need to install it. The instructions depend on your operating system:

Windows 10

  1. Right click on the downloaded file and choose "Install", or
  2. Key Start
    Type Fonts, select View installed fonts
    A new window with the font folder will appear
    Copy, or drag, the font into the folder

Windows 8

  1. Key Start
    Type File, select File Explorer
    A new window will appear.
  2. Navigate to the folder containing the new font.
  3. Right-click the font, select Install.
  4. Confirm if required.

Windows 7

  1. Open Fonts by clicking the Start button, clicking Control Panel, clicking Appearance and Personalization, and then clicking Fonts.
  2. Drag and drop the downloaded DPCustomMono2.ttf file into the Fonts folder and it should be automatically installed.

Windows Vista

  1. Open Fonts by clicking the Start button, clicking Control Panel, clicking Appearance and Personalization, and then clicking Fonts.
  2. Click File, and then click Install New Font. If you don’t see the File menu, press ALT.
  3. In the Add Fonts dialog box, under Drives, click the drive where the font that you want to install is located.
  4. Under Folders, double-click the folder containing the fonts that you want to add.
  5. Under List of fonts, click the font that you want to add, and then click Install.

Windows Vista alternative: Simply download the font anywhere you want. Right click on the file, select Install from the menu, and Windows will do the rest. Depending on your User Account Control (UAC) settings, if the UAC dialog box opens, select Continue. You can then delete the downloaded file, as a copy was made to the Windows fonts folder when it was installed.

Windows 98, 2000, XP

  1. Select Start->Settings->Control Panel
  2. Double-click Fonts
    A new window will appear
  3. In the File menu, select Install New Font.
  4. In the Drives drop-down box, select the drive you want.
  5. In the Folders list, double-click the folder that contains the downloaded DPCustomMono2.ttf file.
  6. In the list of fonts, click DPCustomMono2.ttf, and then click OK.

Windows XP alternative: Simply download the font and put it in the folder C:\WINDOWS\fonts.

MacOS X / macOS

All you should need to do is double-click the downloaded font. FontBook will open, and you can click "install font" in the lower right-hand corner of the window.

If that doesn't work:

  1. Copy the DPCustomMono2.ttf file into one of the following folders, depending on who needs access to the font.
    All users: /Library/Fonts
    Single user: <username>/Library/Fonts
  2. After installing the font, try logging out of your Mac and back in for the font installation to take effect.
  3. If the file downloads with a .txt file extension added, simply click on the file name and remove the .txt from it (a message will pop up asking if you're certain that you want to change the file extension).

FreeBSD

  1. If you don't have one already, make a local .fonts directory
    mkdir ~/.fonts
  2. Copy the DPCustomMono2.ttf file to the new directory
    cp DPCustomMono2.ttf .fonts
  3. Tell fontconfig about the new font
    Install the x11-fonts/fontconfig, x11-fonts/mkfontscale, x11-fonts/mkfontdir packages if you don't already have them
    fc-cache
  4. su
$ cd /usr/local/lib/X11/fonts/truetype
$ cp ~user/.fonts/DPCustomMono2.ttf .
$ mkfontdir .
$ mkfontscale .
$ fc-cache .

Ubuntu

For modern versions of Ubuntu (at least 11.04 and later) simply download, save, click "install", and you're done. No sudo, no reboot.

DPCustomMono2 and guiguts

In order to get guiguts to recognize DPCustomMono2, you need to make the font known to the X11 server. Under Ubuntu I managed to do so following these instructions

$ sudo bash
$ mkdir /usr/share/fonts/truetype/dp
$ apt-get install ttmkfdir
$ cd /usr/share/fonts/truetype/dp
$ cp ~/.fonts/DPCustomMono2.ttf .
$ ttmkfdir > fonts.scale
$ mkfontdir
$ vi /etc/X11/xorg.conf
<add line>FontPath "/usr/share/fonts/truetype/dp"
<restart the machine>

Arch Linux

There's a ttf-dpcustommono2 package in AUR.

Other Linux distributions

If there's no package for your distribution, with a modern XFree86, all you need to do is:

  1. If you don't have one already, make a local .fonts directory
    mkdir ~/.fonts
  2. Copy the DPCustomMono2.ttf file to the new directory
    cp DPCustomMono2.ttf .fonts
  3. Tell fontconfig about the new font
    fc-cache
Note: In some Linux distributions the ~/.fonts/ directory is now deprecated. User fonts should be installed in ~/.local/share/fonts/ instead.

To get this font to work with an arbitrary X application, you want the font to show up in the output of the "xlsfonts" command. There are two indices needed besides the fonts.cache-1 created by fc-cache. They are fonts.dir and fonts.scale. These are built with the "mkfontdir" and "mkfontscale" commands. Here's what I did to make this font visible to everyone on my SuSE box:

$ cd /usr/X11R6/lib/X11/fonts/truetype
$ sudo cp ~/.fonts/DPCustomMono2.ttf .
$ sudo mkfontdir .
$ sudo mkfontscale .
$ sudo fc-cache .

You probably need to restart your X server or X font server (xfs) after generating these files.

Here is what I did to have the font available on my Fedora core 11 box :

$ cp DPCustomMono2.ttf /usr/share/fonts/dejavu/ (as user root)
$ chown 644 /usr/share/fonts/dejavu/DPCustomMono2.ttf

Added help: this howto is a long but comprehensive review of integrating fonts with Linux applications.

License

DPCustomMono2 is derived from Bitstream Vera.

Copyright (c) 2003 by Distributed Proofreaders. All Rights Reserved.

Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.
Bitstream Vera is a trademark of Bitstream, Inc.

Permission is hereby granted, free of charge, to any person obtaining
a copy of the fonts accompanying this license (“Fonts”) and associated
documentation files (the “Font Software”), to reproduce and distribute
the Font Software, including without limitation the rights to use,
copy, merge, publish, distribute, and/or sell copies of the Font
Software, and to permit persons to whom the Font Software is furnished
to do so, subject to the following conditions:

The above copyright and trademark notices and this permission notice
shall be included in all copies of one or more of the Font Software
typefaces.

The Font Software may be modified, altered, or added to, and in
particular the designs of glyphs or characters in the Fonts may be
modified and additional glyphs or characters may be added to the
Fonts, only if the fonts are renamed to names not containing either
the words “Bitstream” or the word “Vera”.

This License becomes null and void to the extent applicable to Fonts
or Font Software that has been modified and is distributed under the
“Bitstream Vera” names.

The Font Software may be sold as part of a larger software package but
no copy of one or more of the Font Software typefaces may be sold by
itself.

THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT
SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

Except as contained in this notice, the names of Gnome, the Gnome
Foundation, and Bitstream Inc., shall not be used in advertising or
otherwise to promote the sale, use or other dealings in this Font
Software without prior written authorization from the Gnome Foundation
or Bitstream Inc., respectively. For further information, contact:
fonts at gnome dot org.