mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.pdfdraw
git-svn-id: svn://ultimatepp.org/upp/trunk@5597 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
36be58c902
commit
a2ee829d4e
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ NAMESPACE_UPP
|
|||
#include "ICCColorSpace.i"
|
||||
|
||||
#define LDUMP(x) // DUMP(x)
|
||||
#define LLOG(x) // LOG(x)
|
||||
#define LLOG(x) // DLOG(x)
|
||||
|
||||
#define PDF_COMPRESS
|
||||
|
||||
|
|
@ -264,6 +264,7 @@ PdfDraw::OutlineInfo PdfDraw::GetOutlineInfo(Font fnt)
|
|||
of.ttf = true;
|
||||
of.sitalic = fnt.IsItalic() && (ttf.head.macStyle & 2) == 0;
|
||||
of.sbold = fnt.IsBold() && (ttf.head.macStyle & 1) == 0;
|
||||
LLOG(fnt << ", sbold: " << of.sbold << ", sitalic: " << of.sitalic);
|
||||
}
|
||||
|
||||
outline_info.Add(fnt, of);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue