Next: , Previous: , Up: Exported definitions   [Contents][Index]


6.1.4 Conditions

Condition: character-list-cycle ()

The Character List Cycle compliance error.
It signals that a cycle was found in a list of ascending character sizes.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The cyclic character list.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Condition: different-fonts ()

The Different Fonts usage error.
It signals an attempt at retrieving a ligature or kerning for two characters from different fonts.

Package

net.didierverna.tfm

Source

font.lisp (file)

Direct superclasses

tfm-usage-error (condition)

Direct methods
Direct slots
Slot: character1

The first character.

Initargs

:character1

Readers

character1 (generic function)

Writers

(setf character1) (generic function)

Slot: character2

The second character.

Initargs

:character2

Readers

character2 (generic function)

Writers

(setf character2) (generic function)

Condition: extended-tfm ()

The Extended TFM warning.
It signals that a file contains extended TFM data (OFM or JFM) rather than plain TFM data.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-warning (condition)

Direct methods
  • file (method)
  • file (method)
  • value (method)
  • value (method)
Direct slots
Slot: value

The TFM extension.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Slot: file

The extended TFM file.

Initargs

:file

Readers

file (generic function)

Writers

(setf file) (generic function)

Condition: file-overflow ()

The File Overflow compliance warning.
It signals that the file size is longer than expected.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses
Condition: file-underflow ()

The File Underflow compliance error.
It signals that the file size is shorter than expected.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses
Condition: fix-word-overflow ()

The Fix Word Overflow compliance error.
It signals that a fix word is outside ]-16,+16[.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The faulty value.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Condition: invalid-bcpl-string ()

The Invalid BCPL String compliance error.
It signals that a BCPL string contains parentheses or non-ASCII characters.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The invalid string.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Condition: invalid-char-info ()

The Invalid Char Info compliance error.
It signals that a char-info with a width-index of 0 is not completely zero’ed out.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The invalid char-info structure.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Condition: invalid-character-code ()

The Invalid Character Code compliance error.
It signals a reference to a character code which does not exist in the font being loaded.

Package

net.didierverna.tfm

Source

font.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The invalid character code.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Condition: invalid-character-range ()

The Invalid Character Range compliance error. It signals that BC-1 > EC, or that EC > 255.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • ec (method)
  • ec (method)
  • bc (method)
  • bc (method)
Direct slots
Slot: bc

The smallest character code.

Initargs

:bc

Readers

bc (generic function)

Writers

(setf bc) (generic function)

Slot: ec

The largest character code.

Initargs

:ec

Readers

ec (generic function)

Writers

(setf ec) (generic function)

Condition: invalid-design-size ()

The Invalid Design Size compliance error.
It signals that a design size is too small (< 1pt).

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The invalid design size.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Condition: invalid-header-length ()

The Invalid Header Length compliance error.
It signals that a header length is too small (< 2 words).

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The invalid header length.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Condition: invalid-ligature-opcode ()

The Invalid Ligature Opcode compliance error. It signals that a ligature opcode is invalid.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The invalid ligature opcode.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Condition: invalid-section-lengths ()

The Section Lengths compliance error.
It signals that LF != 6 + LH + NC + NW + NH + ND + NI + NL + NK + NE + NP.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • np (method)
  • np (method)
  • ne (method)
  • ne (method)
  • nk (method)
  • nk (method)
  • nl (method)
  • nl (method)
  • ni (method)
  • ni (method)
  • nd (method)
  • nd (method)
  • nh (method)
  • nh (method)
  • nw (method)
  • nw (method)
  • nc (method)
  • nc (method)
  • lh (method)
  • lh (method)
  • lf (method)
  • lf (method)
Direct slots
Slot: lf

The declared length of the file.

Initargs

:lf

Readers

lf (generic function)

Writers

(setf lf) (generic function)

Slot: lh

The declared length of the file header.

Initargs

:lh

Readers

lh (generic function)

Writers

(setf lh) (generic function)

Slot: nc

EC - BC + 1.

Initargs

:nc

Readers

nc (generic function)

Writers

(setf nc) (generic function)

Slot: nw

The declared length of the width table.

Initargs

:nw

Readers

nw (generic function)

Writers

(setf nw) (generic function)

Slot: nh

The declared length of the height table.

Initargs

:nh

Readers

nh (generic function)

Writers

(setf nh) (generic function)

Slot: nd

The declared length of the depth table.

Initargs

:nd

Readers

nd (generic function)

Writers

(setf nd) (generic function)

Slot: ni

The declared length of the italic correction table.

Initargs

:ni

Readers

ni (generic function)

Writers

(setf ni) (generic function)

Slot: nl

The declared length of the lig/kern table.

Initargs

:nl

Readers

nl (generic function)

Writers

(setf nl) (generic function)

Slot: nk

The declared length of the kern table.

Initargs

:nk

Readers

nk (generic function)

Writers

(setf nk) (generic function)

Slot: ne

The declared length of the extensible character table.

Initargs

:ne

Readers

ne (generic function)

Writers

(setf ne) (generic function)

Slot: np

The declared length of the parameters section.

Initargs

:np

Readers

np (generic function)

Writers

(setf np) (generic function)

Condition: invalid-string-length ()

The Invalid String Length compliance error.
It signals that the declared length of a padded string is greater than its maximum.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • padding (method)
  • padding (method)
  • value (method)
  • value (method)
Direct slots
Slot: value

The invalid length.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Slot: padding

The maximum length.

Initargs

:padding

Readers

padding (generic function)

Writers

(setf padding) (generic function)

Condition: invalid-table-index ()

The Invalid Table Index compliance error.
It signals that a table index is greater than its largest value.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-table-error (condition)

Direct methods
  • largest (method)
  • largest (method)
  • value (method)
  • value (method)
Direct slots
Slot: value

The invalid index.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Slot: largest

The largest index.

Initargs

:largest

Readers

largest (generic function)

Writers

(setf largest) (generic function)

Condition: invalid-table-length ()

The Invalid Table Length compliance error.
It signals that a declared TFM table’s length is out of range.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-table-error (condition)

Direct methods
  • largest (method)
  • largest (method)
  • smallest (method)
  • smallest (method)
  • value (method)
  • value (method)
Direct slots
Slot: value

The invalid table length.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Slot: smallest

The smallest table length.

Initargs

:smallest

Readers

smallest (generic function)

Writers

(setf smallest) (generic function)

Slot: largest

The largest table length.

Initargs

:largest

Readers

largest (generic function)

Writers

(setf largest) (generic function)

Condition: invalid-table-start ()

The Invalid Table Start compliance error.
It signals that the first value in a TFM table is not 0.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-table-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The invalid first table value.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Condition: ligature-cycle ()

The Ligature Cycle compliance error.
It signals that a ligature introduces a cycle for a cons of characters.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
Direct slots
Slot: value

The ligature introducing a cycle.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Slot: characters

The cons of characters involved in the ligature.

Initargs

:characters

Readers

characters (generic function)

Writers

(setf characters) (generic function)

Condition: no-boundary-character ()

The No Boundary Character compliance error.
It signals that a boundary character ligature/kerning program was found, without a boundary character being defined.

Package

net.didierverna.tfm

Source

file.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Condition: not-extensible ()

The Not Extensible usage error.
It signals an attempt at accessing the extension recipe of a non extensible character.

Package

net.didierverna.tfm

Source

character.lisp (file)

Direct superclasses

tfm-usage-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The non extensible character.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Condition: tfm ()

The TFM root condition.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses

condition (condition)

Direct subclasses
Condition: tfm-compliance ()

The TFM Compliance root condition.
This is the mixin for conditions related to TFM compliance.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses

tfm (condition)

Direct subclasses
Condition: tfm-compliance-error ()

The TFM compliance errors root condition.
This is the root condition for errors related to TFM compliance.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses
Direct subclasses
Condition: tfm-compliance-warning ()

The TFM compliance warnings root condition.
This is the root condition for warnings related to TFM compliance.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses
Direct subclasses
Condition: tfm-error ()

The TFM errors root condition.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses
  • error (condition)
  • tfm (condition)
Direct subclasses
Condition: tfm-usage ()

The TFM Usage root condition.
This is the mixin for conditions related to the use of the library.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses

tfm (condition)

Direct subclasses
Condition: tfm-usage-error ()

The TFM usage errors root condition.
This is the root condition for errors related to the use of the library.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses
Direct subclasses
Condition: tfm-usage-warning ()

The TFM usage warnings root condition.
This is the root condition for warnings related to the use of the library.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses
Condition: tfm-warning ()

The TFM warnings root condition.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses
  • warning (condition)
  • tfm (condition)
Direct subclasses
Condition: u16-overflow ()

The U16 Overflow compliance error.
It signals that an unsigned 16 bits integer is greater than 2^15.

Package

net.didierverna.tfm

Source

util.lisp (file)

Direct superclasses

tfm-compliance-error (condition)

Direct methods
  • value (method)
  • value (method)
Direct slots
Slot: value

The faulty value.

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)


Next: , Previous: , Up: Exported definitions   [Contents][Index]