[poppler] rtl text in gettext

alex bodnaru alexbodn.groups at gmail.com
Mon Nov 12 12:52:53 PST 2012


hello friends,

indeed it's getText. excuse my c all lowercase tradition please.
it's to straighten the text getting, also bypassing a bug in the text selection
of a rtl document page. just get the text, don't attempt to select the rectangle
of the whole page, as this is buggy.
the findText depends on the dump fragment patch. as patches, not in the mere
functionality.
the dump fragment patch is really working nice with state of the art visual to
logical algorithms in icu, or at least fribidi.

p.s. i'd be indebted if you could apply these patches, so that they will come
with the next releases. i intend to use the lib on an amd64 system, that i can't
compile the program on it, just use the distributed binary debs that pino will
later distribute.

tia,
alex


On 11/12/2012 08:56 AM, Adam Reichold wrote:
> Hello Albert,
> 
> I think this refers to the method getText in the class TextPage, i.e.
> "RTL text in getText". (There is another patch for the findText method
> floating through the bug tracker.)
> 
> Regards, Adam.
> 
> On 12.11.2012 00:54, Albert Astals Cid wrote:
>> El Dimarts, 6 de novembre de 2012, a les 10:31:00, alex bodnaru va
>> escriure:
>>> hello friends,
> 
>> Hi
> 
>> I'm a bit confused, the gettext in the subject is a mistake and you
>> wanted to say poppler?
> 
>> Cheers, Albert
> 
>>> i've recently posted a bug report (with a patch) for dumping of
>>> rtl related text. now the dumped text is being reordered to best
>>> approximate the visual to logical conversion using libicu, or at
>>> least fribidi, which is not specifically intended to do this, but
>>> it still improves the current condition.
>>>
>>> after decently testing it, i dare recommend it to you too: 
>>> https://bugs.freedesktop.org/show_bug.cgi?id=55977 .
>>>
>>> failing to finalize the cmake related support, i'm asking your
>>> help here, in order for the patch to be hopefully committed.
>>>
>>> i also plan to improve the overall support for rtl, to also allow
>>> search and select of mixed rtl and ltr text in a logical way.
>>>
>>> best regards, alex 
>>> _______________________________________________ poppler mailing
>>> list poppler at lists.freedesktop.org 
>>> http://lists.freedesktop.org/mailman/listinfo/poppler
>> _______________________________________________ poppler mailing
>> list poppler at lists.freedesktop.org 
>> http://lists.freedesktop.org/mailman/listinfo/poppler
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
> 



More information about the poppler mailing list