⚓ T374457 Add Malayalam fonts into Wikisource Export tool to get proper Language rendering in exported files
Page Menu
Phabricator
Create Task
Maniphest
T374457
Add Malayalam fonts into Wikisource Export tool to get proper Language rendering in exported files
Closed, Resolved
Public
Feature
Actions
Edit Task
Edit Related Tasks...
Create Subtask
Edit Parent Tasks
Edit Subtasks
Merge Duplicates In
Close As Duplicate
Edit Related Objects...
Edit Commits
Edit Mocks
Mute Notifications
Protect as security issue
Assigned To
Samwilson
Authored By
Ranjithsiji
Sep 10 2024, 2:39 PM
2024-09-10 14:39:35 (UTC+0)
Tags
Community-Tech
(New & TBD Tickets)
WS Export
(Backlog)
Malayalam-Sites
(Backlog)
Referenced Files
F57503695: Screenshot 2024-09-13 at 01-18-25 അഭിവാദ്യം - അഭിവാദ്യം.pdf.png
Sep 12 2024, 7:50 PM
2024-09-12 19:50:30 (UTC+0)
Subscribers
Aklapper
Gnoeee
Manojk
Ranjithsiji
Samwilson
Description
Feature summary
(what you would like to be able to do and where):
No Malayalam font is available in the Wikisource Book Export Tool. By using a default font the Rendering of Malayalam letters in the export is coming wrong. So I am requesting to add Malayalam fonts to the tool. The fonts are available in
and
. I prefer Gayathri, Malini and Manjari to be included. Because a lot of Old original lipi rendering is needed in Malayalam texts.
Use case(s)
(list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
To get the problem just visit
This export link
and download pdf and check the Malayalam rendering.
Benefits
(why should this be implemented?):
It is very essential to preseve old Malayalam Lipi rendering. Because a lot of old Lipi is appearing in old Malayalam Books
Event Timeline
Ranjithsiji
created this task.
Sep 10 2024, 2:39 PM
2024-09-10 14:39:35 (UTC+0)
Restricted Application
added a project:
Community-Tech
View Herald Transcript
Sep 10 2024, 2:39 PM
2024-09-10 14:39:35 (UTC+0)
Restricted Application
added a subscriber:
Aklapper
View Herald Transcript
Aklapper
renamed this task from
Add Malayalam fonts into Wikisource Export tool to get proper Langauge rendering in exported files.
to
Add Malayalam fonts into Wikisource Export tool to get proper Language rendering in exported files
Sep 10 2024, 2:59 PM
2024-09-10 14:59:42 (UTC+0)
Samwilson
subscribed.
Sep 11 2024, 1:12 AM
2024-09-11 01:12:29 (UTC+0)
Comment Actions
Noto Sans Malayalam is already installed:
Are the fonts from
better? We could look at installing them as well, although only if needed.
Would this package be suitable?
It's better to use fonts from packages rather than installing them manually (less work on upgrades etc.).
Manojk
added a comment.
Sep 11 2024, 1:17 PM
2024-09-11 13:17:54 (UTC+0)
Comment Actions
I would suggest to add
and
for old script users.
and Noto Sans Malayalam and
for new script users.
Samwilson
added a comment.
Sep 11 2024, 10:47 PM
2024-09-11 22:47:54 (UTC+0)
Comment Actions
Done.
Note also that you can set the default font by editing
MediaWiki:WS_Export.json
, e.g.:
"defaultFont"
"Noto Sans Malayalam"
Manojk
added a comment.
Sep 12 2024, 5:50 AM
2024-09-12 05:50:41 (UTC+0)
Comment Actions
I did the respective
changes
. and tested.
Worked. Thanks for the supports.
Ranjithsiji
added a comment.
Edited
Sep 12 2024, 5:52 AM
2024-09-12 05:52:06 (UTC+0)
Comment Actions
Noto Sans Malayalam is not enough for Wikisource Malayalam. Because it cannot render old lipi complex scripts. We need
and
for old script users. So we need at least 3 fonts.
is not sutable because it is not updated for a long time. The default export to pdf is not working for me. But I can select the font from the dropdown of the tool and it is working fine.
Samwilson
added a comment.
Sep 12 2024, 5:56 AM
2024-09-12 05:56:37 (UTC+0)
Comment Actions
@Ranjithsiji
Those are all installed now. Is everything sufficient? Or are there still other fonts that you'd like?
Ranjithsiji
added a comment.
Edited
Sep 12 2024, 5:59 AM
2024-09-12 05:59:15 (UTC+0)
Comment Actions
No need to add another font. I got the fonts. Everything is fine. Only thing is the font is not picking up on direct download link. Trying again now and is not working. I tried
this link. And when press download button and select pdf then it is rendering in bad shape.
When I pass
Then it is working.
&fonts=manjari
is needed in the default download button.
Samwilson
added a comment.
Sep 12 2024, 7:57 AM
2024-09-12 07:57:55 (UTC+0)
Comment Actions
Oh, good point, sorry! The
config
is cached for one month. I've cleared the cache, can you check again?
Ranjithsiji
added a comment.
Sep 12 2024, 8:30 AM
2024-09-12 08:30:36 (UTC+0)
Comment Actions
Yes. It is working now. Thanks for the quick action. Also another question. How can I control the size of the font, line height of the sentance. Also margin. Also How can I change the frontpage image? Is there any configuration to do this thing?
Manojk
added a comment.
Sep 12 2024, 7:50 PM
2024-09-12 19:50:30 (UTC+0)
Comment Actions
One more help related to this.
i completed L10N
of the tool in Translate Wiki.
I wish to do translate the default English text in the template.
Is i need to open a new issue for following the L10N related things ?
Samwilson
added a comment.
Sep 13 2024, 2:32 AM
2024-09-13 02:32:41 (UTC+0)
Comment Actions
One more help related to this. i completed L10N of the tool in Translate Wiki.
Great!
I wish to do translate the default English text in the template.
For the about page, you need to create a localized version at
You can base it on the one on Multilingual Wikisource:
Samwilson
closed this task as
Resolved
Jul 8 2025, 10:08 PM
2025-07-08 22:08:32 (UTC+0)
Samwilson
claimed this task.
Log In to Comment
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct.
Wikimedia Foundation
Code of Conduct
Disclaimer
CC-BY-SA
GPL
Credits