[Gambas-user] Blurry text when PDF pages are rendered with gb.poppler and displayed with a DocumentView
Benoît Minisini
benoit.minisini at gambas-basic.org
Wed Feb 7 20:00:23 CET 2024
Le 07/02/2024 à 19:58, Benoît Minisini a écrit :
> Le 07/02/2024 à 19:34, Benoît Minisini a écrit :
>> Le 07/02/2024 à 19:25, Claus Dietrich a écrit :
>>> Am 06.02.24 um 16:23 schrieb Benoît Minisini:
>>>> You only deal with resolution, but in that case you have to
>>>> understand what resolution is, and how to convert between pixels and
>>>> millimiters.
>>>
>>> I don't know at what point I left an impression or gave a reason for
>>> this reply.
>>>
>>> As the difference between the two demo apps was never confirmed or
>>> contradicted yet, we further have no reasonable basis for a dialogue.
>>>
>>> So I better give up and sorry, if I messed it up.
>>>
>>> Claus
>>>
>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>
>>
>> Don't give up: here is your project where the page render is fixed. I
>> just didn't fixed the CreateThumbnail() so that you can do it yourself.
>>
>> Remember that you need the latest master with the poppler fix on page
>> width and page height.
>>
>> Regards,
>>
>
> Here is the project fully fixed: I fixed thumbnail generation, removed
> duplicated refreshes and useless code.
>
> I hope it will help.
>
> Regards,
>
Note that at line 60, you can just call Render() with no arguments, as
the arguments passed are all the default ones.
Regards,
--
Benoît Minisini.
More information about the User
mailing list