File: bdftops.sh

package info (click to toggle)
xmhtml 1.1.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,296 kB
  • sloc: ansic: 70,372; makefile: 480; sh: 176; perl: 36
file content (29 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
#
# bdf font data
# swidth: scalable width
# dwidth: scalable width

# Font properties
#
# width = fontboundingbox[0]
# height = fontboundingbox[1]
# xoffset = fontboundingbox[2]
# yoffset = fontboundingbox[3]

# ascent = height + y_offset
# descent = -(yoffset)

# min_bounds, max_bounds

# XCharStruct
# width = bbx[0]
# height = bbx[1]
# xoffset = bbx[2]
# yoffset = bbx[3]
#
# lbearing = xoffset
# rbearing = width + xoffset
# width = bbx[0]
# ascent = height + yoffset
# descent = -(yoffset)