mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Some minor bugfixes
This commit is contained in:
@ -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)
|
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 = 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);
|
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;
|
return 0;
|
||||||
|
@ -1620,7 +1620,7 @@ void PDFPageContentProcessor::operatorTextSetMatrix(PDFReal a, PDFReal b, PDFRea
|
|||||||
|
|
||||||
void PDFPageContentProcessor::operatorTextMoveByLeading()
|
void PDFPageContentProcessor::operatorTextMoveByLeading()
|
||||||
{
|
{
|
||||||
operatorTextMoveByOffset(0.0, m_graphicState.getTextLeading());
|
operatorTextMoveByOffset(0.0, -m_graphicState.getTextLeading());
|
||||||
}
|
}
|
||||||
|
|
||||||
void PDFPageContentProcessor::operatorTextShowTextString(PDFOperandString text)
|
void PDFPageContentProcessor::operatorTextShowTextString(PDFOperandString text)
|
||||||
|
Reference in New Issue
Block a user