font-mappings.rnc 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # This file is part of the DITA Open Toolkit project.
  2. #
  3. # Copyright 2011 Jarno Elovirta
  4. #
  5. # See the accompanying LICENSE file for applicable license.
  6. font-mappings =
  7. ## Mapping table from logical fonts and character sets to physical fonts.
  8. element font-mappings {
  9. font-table*
  10. }
  11. font-table =
  12. ## Font mapping table
  13. element font-table {
  14. aliases*,
  15. logical-font*
  16. }
  17. aliases =
  18. ## Logical font aliases
  19. element aliases {
  20. alias*
  21. }
  22. alias =
  23. ## Logical font alias
  24. element alias {
  25. ## Alias name
  26. attribute name { text }?,
  27. ## Logical font name
  28. text
  29. }
  30. logical-font =
  31. ## Logical font mapping
  32. element logical-font {
  33. ## Logical font name
  34. attribute name { text }?,
  35. physical-font*
  36. }
  37. physical-font =
  38. ## Physical font
  39. element physical-font {
  40. ## Character set name
  41. attribute char-set { text | "default" }?,
  42. font-face,
  43. baseline-shift?,
  44. override-size?
  45. }
  46. font-face =
  47. ## Physical font name
  48. element font-face { text }
  49. baseline-shift =
  50. ## Baseline shift adjustment
  51. element baseline-shift { text }
  52. override-size =
  53. ## Font size adjustment
  54. element override-size { text }
  55. start = font-mappings