X Logical Font Description Conventions: X Consortium Standard

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Retrieved from http://web.archive.org/web/20170113055641/http://www.xfree86.org/current/xlfd.pdf on 2017 January 13. 1998 date from http://web.archive.org/web/20170113060038/https://en.wikipedia.org/wiki/X_Window_System, also retrieved on 2017 January 13: "The Open Group released X11R6.4 in early 1998."

Author(s): Jim Flowers, Stephen Gildea (eds.)
Publisher: X Consortium, Inc.
Year: 1998

Language: English
Pages: 32+ii

1. Introduction
......................... 1
2. Requirements and Goals
..................... 1
2.1. Provide Unique and Descripti
ve Fo
nt Names
.............. 1
2.2. Support Multiple Font Vendors and Character Sets
............ 1
2.3. Support Scalable and Polymorphic F
onts .
.............. 2
2.4. Support Transformations and Subsetting of F
onts .
........... 2
2.5. Be Independent of X Server and Operating or File System Implementations
.... 2
2.6. Support Arbitrarily Comple
xF
ont Matching and Substitution
........ 2
2.7. Be Extensible
........................ 2
3. X Logical Font Description
.................... 2
3.1. F
ontName .
........................ 3
3.1.1. FontName Syntax
...................... 3
3.1.2. FontName Field Definitions
................... 4
3.1.2.1. FOUNDR
YF
ield .
.................... 4
3.1.2.2. FAMILY_NAME Field
................... 4
3.1.2.3. WEIGHT_NAME Field
................... 5
3.1.2.4. SLANT Field
...................... 5
3.1.2.5. SETWIDTH_NAME Field
.................. 5
3.1.2.6. ADD_STYLE_NAME Field
.................. 6
3.1.2.7. PIXEL_SIZE Field
..................... 6
3.1.2.8. POINT_SIZE Field
..................... 6
3.1.2.9. RESOLUTION_X and RESOLUTION_Y Fields
........... 7
3.1.2.10. SP
AC
ING Field
..................... 7
3.1.2.11. AVERAGE_WIDTH Field
.................. 7
3.1.2.12. CHARSET_REGISTR
Ya
nd CHARSET_ENCODING Fields
....... 8
3.1.3. Examples
........................ 9
3.2. Font Properties
....................... 9
3.2.1. FOUNDR
Y. . . . . . . . . . . . . . . . . . . . . . . .
10
3.2.2. FAMILY_N
AME .
..................... 1
0
3.2.3. WEIGHT_N
AME .
..................... 1
1
3.2.4. SLANT
......................... 1
1
3.2.5. SETWIDTH_N
AME .
.................... 1
1
3.2.6. ADD_STYLE_N
AME .
................... 1
1
3.2.7. PIXEL_SIZE
....................... 1
1
3.2.8. POINT_SIZE
....................... 1
2
3.2.9. RESOLUTION_X
...................... 1
2
3.2.10. RESOLUTION_Y
..................... 1
2
3.2.11. SP
AC
ING .
....................... 1
2
3.2.12. AVERA
GE_WIDTH .
................... 1
2
3.2.13. CHARSET_REGISTR
Y.
.................. 1
3
3.2.14. CHARSET_ENCODING
................... 1
3
3.2.15. MIN_SP
AC
E. . . . . . . . . . . . . . . . . . . . . . .
13
3.2.16. NORM_SP
AC
E. . . . . . . . . . . . . . . . . . . . . .
13
3.2.17. MAX_SP
AC
E.
..................... 1
3
3.2.18. END_SP
AC
E. . . . . . . . . . . . . . . . . . . . . . .
13
3.2.19. A
VG
_CAPIT
AL_WIDTH .
.................. 1
4
i
XL
ogical Font Description Con
ventions X11,
Release 6.4
3.2.20. A
VG
_LO
WERCASE_WIDTH .
................ 1
4
3.2.21. Q
UA
D_WIDTH .
..................... 1
4
3.2.22. FIGURE_WIDTH
..................... 1
5
3.2.23. SUPERSCRIPT_X
..................... 1
5
3.2.24. SUPERSCRIPT_Y
..................... 1
5
3.2.25. SUBSCRIPT_X
...................... 1
5
3.2.26. SUBSCRIPT_Y
...................... 1
6
3.2.27. SUPERSCRIPT_SIZE
.................... 1
6
3.2.28. SUBSCRIPT_SIZE
..................... 1
6
3.2.29. SMALL_CAP_SIZE
.................... 1
6
3.2.30. UNDERLINE_POSITION
.................. 1
7
3.2.31. UNDERLINE_THICKNESS
.................. 1
7
3.2.32. STRIKEOUT_ASCENT
................... 1
7
3.2.33. STRIKEOUT_DESCENT
................... 1
7
3.2.34. IT
ALIC_ANGLE .
.................... 1
8
3.2.35. CAP_HEIGHT
...................... 1
8
3.2.36. X_HEIGHT
....................... 1
8
3.2.37. RELA
TIVE_SETWIDTH .
.................. 1
9
3.2.38. RELA
TIVE_WEIGHT .
................... 1
9
3.2.39. WEIGHT
........................ 2
0
3.2.40. RESOLUTION
...................... 2
0
3.2.41. FONT
......................... 2
1
3.2.42. F
AC
E_N
AME .
..................... 2
1
3.2.43. FULL_N
AME .
..................... 2
1
3.2.44. COPYRIGHT
....................... 2
1
3.2.45. NO
TICE .
....................... 2
1
3.2.46. DESTIN
AT
ION .
..................... 2
1
3.2.47. FONT_TYPE
....................... 2
2
3.2.48. FONT_VERSION
..................... 2
2
3.2.49. RASTERIZER_N
AME .
................... 2
2
3.2.50. RASTERIZER_VERSION
.................. 2
3
3.2.51. RA
W_ASCENT .
..................... 2
3
3.2.52. RA
W_DESCENT .
.................... 2
3
3.2.53. RA
W_* .
........................ 2
3
3.2.54. AXIS_N
AMES .
..................... 2
3
3.2.55. AXIS_LIMITS
...................... 2
3
3.2.56. AXIS_TYPES
...................... 2
3
3.3. Built-in Font Property Atoms
................... 2
3
4. Matrix T
ransformations .
.................... 2
4
4.1. Metrics and Font Properties
................... 2
5
5. Scalable F
onts .
....................... 2
6
6. Polymorphic F
onts .
...................... 2
7
7. Affected Elements of Xlib and the X Protocol
.............. 2
9
8. BDF Conformance
....................... 2
9
8.1. XLFD Conformance Requirements
................. 3
0
8.2. FONT_ASCENT
,F
ONT_DESCENT
,and DEF
AU
LT
_CHAR .
....... 3
0
8.2.1. FONT_ASCENT
...................... 3
0
8.2.2. FONT_DESCENT
..................... 3
0
8.2.3. DEF
AU
LT
_CHAR .
.................... 31