mirror of https://github.com/JakubMelka/PDF4QT.git
Some minor bugfixes
This commit is contained in:
parent
27fa4eb8aa
commit
9d982747e2
|
@ -340,6 +340,7 @@ int PDFRealizedFontImpl::outlineLineTo(const FT_Vector* to, void* user)
|
|||
|
||||
int PDFRealizedFontImpl::outlineConicTo(const FT_Vector* control, const FT_Vector* to, void* user)
|
||||
{
|
||||
// TODO: Vypocet je pravdepodobne spatne
|
||||
Glyph* glyph = reinterpret_cast<Glyph*>(user);
|
||||
glyph->glyph.cubicTo(control->x * FORMAT_26_6_MULTIPLIER, control->y * FORMAT_26_6_MULTIPLIER, control->x * FORMAT_26_6_MULTIPLIER, control->y * FORMAT_26_6_MULTIPLIER, to->x * FORMAT_26_6_MULTIPLIER, to->y * FORMAT_26_6_MULTIPLIER);
|
||||
return 0;
|
||||
|
|
|
@ -1620,7 +1620,7 @@ void PDFPageContentProcessor::operatorTextSetMatrix(PDFReal a, PDFReal b, PDFRea
|
|||
|
||||
void PDFPageContentProcessor::operatorTextMoveByLeading()
|
||||
{
|
||||
operatorTextMoveByOffset(0.0, m_graphicState.getTextLeading());
|
||||
operatorTextMoveByOffset(0.0, -m_graphicState.getTextLeading());
|
||||
}
|
||||
|
||||
void PDFPageContentProcessor::operatorTextShowTextString(PDFOperandString text)
|
||||
|
|
Loading…
Reference in New Issue