Scribusoid

Author Topic: Scaling width of charecters in unicode (Malayalam, India)  (Read 288 times)

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1942
  • Karma: 26
    • the graphics lab
Re: Scaling width of charecters in unicode (Malayalam, India)
« Reply #15 on: July 11, 2019, 10:27:42 pm »
so, as jean and andreas discussed in the bug tracker, the patch does solve a short term problem but is not a complete solution.

if you read a bit their comments in the bug tracker and try to read the code around the patch already proposed by andreas, you will already have an idea about how it works.

don't hesitate to ask for details... i might be able to help or can ask further...
(or somebody from the team might show up in here... or you might join also the irc channel for more interactive discussions)

just a side note: as far i can tell, for latin fonts it's very unusual to create condensed "text" by changing the width of the letters... you normally use a condensed variation of the font... and if you just try condense a font by 20%, you don't get a good result. of course, i cannot judge how good the result is for the noto / malayalm font.

avox

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Scaling width of charecters in unicode (Malayalam, India)
« Reply #16 on: July 11, 2019, 11:13:54 pm »
...
yes. i build and run it successfully. truly speaking i didn't expected this much fast response and fix. i totally wondered. and ofcourse  i will try to understand the code. expecting guidance from all of you



hi ale,

I tested the patch that andreas given with latest scribus code and it is working perfectly. I amazed about the solution. This was real life saver for us. Thank you for your quick response and patch. I think this will fix the problem for all indic langauges. Because Malayalam is the most complex indic language with lot of complex rules. So it may work for all.

Thanks for this amazing fix

Best,
Ranjithisiji

You are welcome. I'll have a closer look over the weekend re. PostScript output and other cases.

I usually don't hang around here, so if you want a response from me, you either have to alert a.l.e or send a mail to scribus-dev :-)

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1942
  • Karma: 26
    • the graphics lab
Re: Scaling width of charecters in unicode (Malayalam, India)
« Reply #17 on: July 15, 2019, 09:32:23 am »
the patch by andreas and jean is now in the current scribus code (trunk / master).
if you compile scribus, you can get it trough svn and git.

an appimage can be found (during the next week) here:
https://gitlab.com/scribus/scribus/-/jobs/251287685/artifacts/browse

the PPA provided by ubuntu should also already contain the fix.

and jean provided a snapshot for windows: https://sourceforge.net/projects/scribus/files/scribus-svn/1.5.5.svn/

mujeebcpy

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Scribus User
Re: Scaling width of charecters in unicode (Malayalam, India)
« Reply #18 on: July 15, 2019, 11:42:34 am »
Hi, i pulled and built. now everything works fine. svg out also rendering correctly. thanks for the help and fix.
i have another bug to report with Dropcap. should i start a new bug?

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1942
  • Karma: 26
    • the graphics lab
Re: Scaling width of charecters in unicode (Malayalam, India)
« Reply #19 on: July 15, 2019, 06:50:39 pm »
yep, please open a new ticket for it...

and if you think that your team has the skills to fix such bugs (now that you have seen how the other bug has been fixed...), don't hesitate to try to dive into the scribus code!

 

palmate