When the font is not embedded, the PDF viewer does not know what the font looks like. Instead of using the actual font, he searches for a font with a similar name in the operating system of the person viewing the document.
For example: there are 14 so-called Standard Type 1 fonts that do not need to be inserted:
- Zapfdingbats
- romancesque
- fold-down
- Helvetica-boldoblique
- courier boldoblique
- Helvetica font
- Helvetica
- inclined courier
- Helvetica Inclined
- Bold Courier
- Fold-BoldItalic
- courier
- -
iText, iText embedded, , Adobe Reader .
, , Coca Cola, , Coca Cola, , , Walt Disney, , Walt Disney. . , , , PDF-.
, PDF. , . : PDF/A, .
CJK (, itext-asian.jar) iText embedded. CJK, CJK ( , Adobe Reader ).
IDENTITY_H IDENTITY_V iText embedded, PDF , encoding.
, , 90 embedded. , . IDENTITY_V . . , . . , , , . IDENTITY_V, , 90 , , ( IDENTITY_H ).
. vertical_text_1.pdf , V. , :
public String convertCIDs(String text) {
char cid[] = text.toCharArray();
for (int k = 0; k < cid.length; ++k) {
char c = cid[k];
if (c == '\n')
cid[k] = '\uff00';
else
cid[k] = (char) (c - ' ' + 8720);
}
return new String(cid);
}
: vertical_text_2.pdf ( , ). .