~allenwyma

Recent activity

Re: i18n Support a month ago

From Allen Wyma to ~ireas/public-inbox

Hi Robin,

thanks for the detailed message: basically for chinese, you can break
after each character is fine. There's no concept of "words", just
characters. Although a word like telephone is written as 電話, it's okay
to break after 電 because seeing the character 話 afterwards makes it
clear that they belong together.

On Mon, Jun 21, 2021 at 7:13 PM Robin Krahl <robin.krahl@ireas.org> wrote:
>
> On 2021-06-21 18:53:57, Allen Wyma wrote:
> > to follow up: any ideas on how to do the text wrapping? or even a work
> > around? Seems kind of strange that there's 0 text instead of say the
> > text just traveling off the page?

Re: i18n Support a month ago

From Allen Wyma to ~ireas/public-inbox

to follow up: any ideas on how to do the text wrapping? or even a work
around? Seems kind of strange that there's 0 text instead of say the
text just traveling off the page?

On Mon, Jun 21, 2021 at 6:37 PM Allen Wyma <allen.wyma@gmail.com> wrote:
>
> shorter strings seems to help. thanks!
>
> On Mon, Jun 21, 2021 at 3:28 PM Robin Krahl <robin.krahl@ireas.org> wrote:
> >
> > Hi Allen,
> >
> > I think I found the reason why your example doesn’t work:
> >         https://gist.github.com/HangingClowns/bed7737f5886f0660a001343f574adda#file-main-rs-L20

Re: i18n Support a month ago

From Allen Wyma to ~ireas/public-inbox

shorter strings seems to help. thanks!

On Mon, Jun 21, 2021 at 3:28 PM Robin Krahl <robin.krahl@ireas.org> wrote:
>
> Hi Allen,
>
> I think I found the reason why your example doesn’t work:
>         https://gist.github.com/HangingClowns/bed7737f5886f0660a001343f574adda#file-main-rs-L20
> Uncomment that line and it print the signs.  (There seems to be another
> issue if the string is too long and can’t be split up using the naive
> implementation – please try shorter strings first.)
>
> /Robin

Re: i18n Support a month ago

From Allen Wyma to ~ireas/public-inbox

Hi Robin,

Good point, I totally forgot about RTL support. For me it's just the
characters aren't coming in at all. I'm than happy to help with
testing. I'm still a bit of a beginner in rust.

On Mon, Jun 21, 2021 at 3:08 PM Robin Krahl <robin.krahl@ireas.org> wrote:
>
> Hi Allen,
>
> I think there are two different aspects:
>
> One aspect is using characters from non-Latin scripts.  This should
> already work.  I’ll try to investigate why the characters are missing in

i18n Support a month ago

From Allen Wyma to ~ireas/public-inbox

Hi,

I'm not sure if this is me, or I'm missing something, but it seems
that genpdf is missing i18n support, cause I'm trying to use Chinese,
but it seems that the text is not coming in at all:

https://gist.github.com/HangingClowns/bed7737f5886f0660a001343f574adda