public class ToUnicodeProcessingRules extends Object
This class describes rules which can be used to solve Adobe Preflight error "Text cannot be mapped to Unicode".
Constructor and Description |
---|
ToUnicodeProcessingRules()
Constructor
|
ToUnicodeProcessingRules(boolean removeSpaces)
Constructor
|
ToUnicodeProcessingRules(boolean removeSpaces,
boolean mapNonLinkedUnicodesOnSpace)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
getMapNonLinkedSymbolsOnSpace()
Some fonts doesn't provide information about unicodes for some text symbols.
|
boolean |
getRemoveSpacesFromCMapNames()
Some fonts have ToUnicode character code maps with spaces in names.
|
void |
setMapNonLinkedSymbolsOnSpace(boolean value)
Some fonts doesn't provide information about unicodes for some text symbols.
|
void |
setRemoveSpacesFromCMapNames(boolean value)
Some fonts have ToUnicode character code maps with spaces in names.
|
public ToUnicodeProcessingRules()
Constructor
public ToUnicodeProcessingRules(boolean removeSpaces)
Constructor
removeSpaces
- sets RemoveSpacesFromCMapNames
flagpublic ToUnicodeProcessingRules(boolean removeSpaces, boolean mapNonLinkedUnicodesOnSpace)
Constructor
removeSpaces
- sets RemoveSpacesFromCMapNames
flagmapNonLinkedUnicodesOnSpace
- sets MapNonLinkedSymbolsOnSpace
flagpublic boolean getRemoveSpacesFromCMapNames()
Some fonts have ToUnicode character code maps with spaces in names. These spaces could call errors with unicode text mapping. This flag commands to remove spaces from names of ToUnicode character code maps. By default false.
public void setRemoveSpacesFromCMapNames(boolean value)
Some fonts have ToUnicode character code maps with spaces in names. These spaces could call errors with unicode text mapping. This flag commands to remove spaces from names of ToUnicode character code maps. By default false.
value
- boolean valuepublic boolean getMapNonLinkedSymbolsOnSpace()
Some fonts doesn't provide information about unicodes for some text symbols. This lack of information calls an error "Text cannot be mapped to Unicode". Use this flag to map non-linked symbols on unicode "space"(code 32).
public void setMapNonLinkedSymbolsOnSpace(boolean value)
Some fonts doesn't provide information about unicodes for some text symbols. This lack of information calls an error "Text cannot be mapped to Unicode". Use this flag to map non-linked symbols on unicode "space"(code 32).
value
- boolean value