Bitmap Distribution Format

Bitmap Distribution Format
Page d'aide sur l'homonymie Pour les articles homonymes, voir BDF.

Bitmap Distribution Format abrégé BDF est un format de description de fonte de caractères définie par une image matricielle. Il a été défini par le "X Consortium standard".

Il se définit par une suite de caractères ASCII. Il peut donc être défini par un simple éditeur de texte par exemple le "Bloc note" de Windows.

Sommaire

Mots clés

Mots clés généraux

Mot clé Paramètres Définition
STARTFONT  %version de la police% Début de la définition
COMMENT  %texte% Commentaire
FONT  %nom% Nom de la fonte
SIZE  %dimension du point%
%résolution horizontale%
%résolution verticale%
taille
FONTBOUNDINGBOX %largeur%
%hauteur%
%x%
%y%
Boîte entourant la police
STARTPROPERTIES  %nombre de propriétés% Début de la définition des propriétés
ENDPROPERTIES Fin de la définition des propriétés
CHARS  %nombre de caractères% Début de la définition des caractères
ENDFONT Fin de la définition

Liste des propriétés

Propriété Paramètres Définition
FOUNDRY  %texte% créateur
FAMILY  %texte% famille
WEIGHT_NAME  %texte% type de poids (gras,...)
SLANT  %texte%
SETWIDTH_NAME  %texte% type de largeur
ADD_STYLE_NAME
PIXEL_SIZE  %nombre% taille en pixels
POINT_SIZE  %nombre% taille en points
RESOLUTION_X  %nombre%
RESOLUTION_Y  %nombre%
SPACING  %nombre% nombres de pixels entre caractères
AVERAGE_WIDTH  %nombre% largeur moyenne
CHARSET_REGISTRY  %texte% type de table de caractère
(ISO 8859)
CHARSET_ENCODING  %nombre% type de codage
MIN_SPACE  %nombre% fin de la définition
FONT_ASCENT  %nombre% partie ascendante
FONT_DESCENT  %nombre% partie descendante
COPYRIGHT  %texte% droit d'auteur
NOTICE  %texte% notice

Définition d'un caractère

Propriété Paramètres Définition
STARTCHAR  %nom du caractère% Début de la définition du caractère
SWIDTH  %texte%
BBX  %texte%
ATTRIBUTES  %Nombre hexadecimal%
BITMAP  %texte% Début de la définition des pixels
Nombre hexadecimal exemple: 0380 =>
0000 0011 1000 0000
Ligne horizontale d'un caractère
ENDCHAR  %texte% Fin de la définition du caractère

Exemple de codage pour une police comprenant les caractères "j" et "quoteright"

STARTFONT 2.1
COMMENT This is a sample font in 2.1 format.
FONT -Adobe-Helvetica-Bold-R-Normal--24-240-75-75-P-65-ISO8859-1
SIZE 24 75 75
FONTBOUNDINGBOX 9 24 -2 -6
STARTPROPERTIES 19
FOUNDRY "Adobe"
FAMILY "Helvetica"
WEIGHT_NAME "Bold"
SLANT "R"
SETWIDTH_NAME "Normal"
ADD_STYLE_NAME ""
PIXEL_SIZE 24
POINT_SIZE 240
RESOLUTION_X 75
RESOLUTION_Y 75
SPACING "P"
AVERAGE_WIDTH 65
CHARSET_REGISTRY "ISO8859"
CHARSET_ENCODING "1"
MIN_SPACE 4
FONT_ASCENT 21
FONT_DESCENT 7
COPYRIGHT "Copyright (c) 1987 Adobe Systems, Inc."
NOTICE "Helvetica is a registered trademark of Linotype Inc."
ENDPROPERTIES
CHARS 2
STARTCHAR j
ENCODING 106
SWIDTH 355 0
DWIDTH 8 0
BBX 9 22 -2 -6
BITMAP
ENDCHAR
0380
0380
0380
0380
0000
0700
0700
0700
0700
0E00
0E00
0E00
0E00
0E00
1C00
1C00
1C00
1C00
3C00
7800
F000
E000
ENDCHAR
STARTCHAR quoteright
ENCODING 39
SWIDTH 223 0
DWIDTH 5 0
BBX 4 6 2 12
ATTRIBUTES 01C0
BITMAP
70
70
70
60
E0
C0
ENDCHAR
ENDFONT

Copyright

© 1984, 1987, 1988 Adobe Systems, Inc. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.

Liens externes


Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article Bitmap Distribution Format de Wikipédia en français (auteurs)

Игры ⚽ Нужен реферат?

Regardez d'autres dictionnaires:

  • Bitmap Distribution Format — (BDF)  созданный компанией Adobe формат файлов для хранения растровых шрифтов. Содержимое файла представлено в текстовом виде, удобочитаемом как для человека так и для компьютера. Обычно, BDF используется в UNIX средах. Содержание 1 Введение …   Википедия

  • Glyph Bitmap Distribution Format — The Glyph Bitmap Distribution Format (BDF) by Adobe is a file format for storing bitmap fonts. The content is presented as a text file that is intended to be human and computer readable. BDF is typically used in Unix environments. Contents 1… …   Wikipedia

  • Device independent file format — DVI stands for device independent. There also is an article about device independent. Device independent (DVI) Evince previewing a DVI file. Note that referenced images are not displayed, because they are not part of the DVI file. Images will be… …   Wikipedia

  • BDF — • Bitmap Distribution Format unterX11 Format für menschenlesbare Font /Bitmap Darstellung (auch TLA Dateikürzel, vergl. SNF) • Binary Distribution Format …   Acronyms

  • List of file formats — This is an incomplete list, which may never be able to satisfy particular standards for completeness. You can help by expanding it with reliably sourced entries. See also: List of file formats (alphabetical) This is a list of file formats… …   Wikipedia

  • Computer font — This article is about font technology. For information about the typographic appearance of individual font sets, see Typefaces. A computer font (or font) is an electronic data file containing a set of glyphs, characters, or symbols such as… …   Wikipedia

  • Список расширений имени файла/B — / * A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Примечание: Поскольку расширение имени файла может быть любым, представленный список не является полным …   Википедия

  • Font Fusion — Infobox Software name = Bitstream Font Fusion caption = Bitstream Inc. Font Fusion rendering multiple color bordered Greek characters, where the border is anti aliased to the background, and the interior color is anti aliased to the border.… …   Wikipedia

  • GNU Unifont — The GNU Unifont by Roman Czyborra is a free bitmap font that covers the Unicode Basic Multilingual Plane (BMP), using an intermediate bitmapped font format.It is present in most free operating systems and windowing systems such as Linux, XFree86… …   Wikipedia

  • Fontforge — unter GNOME Basisdaten Entwickler: George Williams Aktuelle Version …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”