<br><br><div class="gmail_quote">2011/9/17 Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org">aacid@kde.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
A Divendres, 16 de setembre de 2011, Igor Mitrenko vàreu escriure:<br>
> Hello.<br>
<br>
Hi<br>
<div class="im"><br>
> Firstly, Okular is the best or one of the best PDF reader (although I've<br>
> tried many different, including propietary), so I'd like to thank<br>
> development team for that. Good job.<br>
<br>
</div>Thanks :-)<br>
<div class="im"><br>
><br>
> But there is a problem, or may be even several problems with PDF forms.<br>
> Despite of forms works in general, they are able to be turned on and off,<br>
> edited and so on, it's very sad that positioning and redrawing of forms work<br>
> in very strange manner:<br>
> Them could be placed above or beneath actual (visible) position, even from<br>
> previous page, could ignore control and stay after switching off.<br>
> 1) forms _are_ switched off, but still displayed (although they were removed<br>
> once screenshot program window popped up):<br>
> <a href="http://img703.imageshack.us/img703/7974/1before.png" target="_blank">http://img703.imageshack.us/img703/7974/1before.png</a><br>
> 2) forms switched on, but misplaced:<br>
> <a href="http://img28.imageshack.us/img28/9315/2before.png" target="_blank">http://img28.imageshack.us/img28/9315/2before.png</a><br>
> 3) forms are hidden again, but sitll not removed (in fact those are form<br>
> from _previous_ page drawn on the current page):<br>
> <a href="http://img215.imageshack.us/img215/54/2after.png" target="_blank">http://img215.imageshack.us/img215/54/2after.png</a><br>
><br>
> Finally, it seems a bit strange that font used in forms differs from final<br>
> document (in my case it has rather different font face and size). It seems<br>
> possible to catch font from document and use it in appropriate forms.<br>
><br>
> So I'd be happy if you fix it or even guide me how I can fix it by myself. I<br>
> am a python developer with not so strong c/c++ background, but I think I<br>
> could get it. But I need some basic instructions, like what and where is<br>
> better to search in source files.<br>
<br>
</div>Unfortunately fixing this stuff is not trivial at all. Moreover you are<br>
noticing various different effects here.<br>
<br>
Forms misplacing and misrendering are possibly somewhere in<br>
okular/ui/pageview.* or okular/ui/formwidgets.*<br>
<br></blockquote><div>Thank you. I'll try it.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
About the font thing, I am not sure what you want, do you want that while you<br>
edit the form contents the same font is used that for when is rendered without<br>
the input widget?<br>
<br></blockquote><div>Exactly.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Albert<br>
<br>
_______________________________________________<br>
Okular-devel mailing list<br>
<a href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
</blockquote></div><br>