de.dante.extex.interpreter.type.font
Class FontUtil

java.lang.Object
  extended byde.dante.extex.interpreter.type.font.FontUtil

public final class FontUtil
extends java.lang.Object

Font utility methods.

Version:
$Revision: 1.3 $
Author:
Gerd Neugebauer

Method Summary
static void charWarning(java.util.logging.Logger logger, TypesetterOptions context, Font font, UnicodeChar c)
          This method produces a log entry for lost characters if the count register tracinglostchars is greater than zero.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

charWarning

public static void charWarning(java.util.logging.Logger logger,
                               TypesetterOptions context,
                               Font font,
                               UnicodeChar c)
This method produces a log entry for lost characters if the count register tracinglostchars is greater than zero.

The Count Parameter \tracinglostchars

The count parameter \tracinglostchars determines whether characters which are discarded are logged. Characters are discarded when the font at hand does not contain a glyph for the character.

If the value of is greater \tracinglostchars than zero then a message is written to the log file. Otherwise the message is suppressed.

Examples

    \tracinglostchars=1  

Parameters:
logger - the logger to write to
context - the interpreter context
font - the font queried
c - the character not found
See Also:
"TTP [581]"