Last modified: 2014-03-07 11:51:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 30790 - <timeline> has incorrect font for farsi
<timeline> has incorrect font for farsi
Status: NEW
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Amir E. Aharoni
: i18n
Depends on: 4030 53502
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-06 22:49 UTC by reza1615
Modified: 2014-03-07 11:51 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description reza1615 2011-09-06 22:49:00 UTC
<timeline> doesn't support correctly in fa.wiki it's table fonts are some rectangles (un none characters)!!
http://fa.wikipedia.org/wiki/%DA%AF%D8%A7%D9%87%E2%80%8C%D9%86%DA%AF%D8%A7%D8%B1%DB%8C_%D8%B3%D8%A8%DA%A9%D9%87%D8%A7%DB%8C_%D9%85%D8%B9%D9%85%D8%A7%D8%B1%DB%8C#1750.E2.80.94present
Comment 1 Brion Vibber 2011-09-07 00:31:23 UTC
Adding bug 4030 (RTL problems) as a dependency; note though that Arabic-script languages may require more work than the Hebrew example in bug 4030 (where there's apparently already a working font, but the chars are laid out as LTR incorrectly)
Comment 2 Siebrand Mazeland 2011-09-12 12:38:33 UTC
Amir, once bug 4030 has been done, can you please look into this, too?
Comment 3 reza1615 2011-09-12 13:45:45 UTC
in fa.wiki it doesn't have any effects.
1-the time line doesn't change from LTR to RTL
2-the Farsi texts are like rectangle
Comment 4 Siebrand Mazeland 2011-10-28 19:54:59 UTC
I think this may be a duplicate of bug 4030. Amir, please assess.
Comment 6 Amir E. Aharoni 2011-11-09 22:24:02 UTC
Because Georgian uses a simple left-to-right alphabet. Rendering Georgian is very simple for the computer, in comparison to Arabic and to many other scripts - even simpler than rendering Latin.

I am working on fixing this bug, but it may take some time.
Comment 7 reza1615 2011-11-20 11:29:58 UTC
Hi amir in Bug 32317 I uploaded some fonts that will solve Farsi rectangle Characters problems for Arabic characters.would you please test them?
In these fonts(mono,Sans,Serif) I added Farsi Arabic and Farsi characters.
Comment 8 reza1615 2011-12-11 22:27:59 UTC
is it possible to add fonts that i attached in Bug 32317 ?they supports Farsi glyphs.
Comment 9 Andre Klapper 2013-01-09 13:07:31 UTC
Amir: 
This report has been in ASSIGNED status for more than one year and you are set as its assignee. In case that you are not actively working on a fix, please reset the bug status to NEW/UNCONFIRMED.
In case you do not plan to work on a fix in the near future: Please also edit the "Assigned To" field by clicking "Reset Assignee to default", in order to not prevent potential contributors from working on a fix. Thanks for your help!
[assigned>=1y]
Comment 10 Adam Wight 2013-08-08 06:58:09 UTC
This works for me:

putenv("GDFONTPATH=/usr/share/fonts/truetype/ttf-dejavu");
$wgTimelineSettings->fontFile = "DejaVuSans";

Please confirm whether this helps on fawiki.
Comment 11 Adam Wight 2013-08-08 07:00:09 UTC
ugh... but the characters are reversed, bug 4030
Comment 12 reza1615 2013-08-08 13:01:04 UTC
(In reply to comment #11)
> ugh... but the characters are reversed, bug 4030

may be https://bugzilla.wikimedia.org/show_bug.cgi?id=17766#c29 will be useful (Pdf collection also had this bug and Volker Haas solved it)
Comment 14 Bawolff (Brian Wolff) 2013-08-28 17:33:06 UTC
(In reply to comment #13)
> http://test.wikipedia.org/wiki/User:Yamaha5/time#.D8.A7.D8.B2_.DB.B1.DB.B7.
> DB.B5.DB.B0_.D9.85.DB.8C.D9.84.D8.A7.D8.AF.DB.8C_.D8.AA.D8.A7_.D8.AD.D8.A7.
> D9.84
> 
> https://test2.wikipedia.org/wiki/User:Yamaha5/time
> 
> http://fa.wikipedia.org/w/index.
> php?title=%DA%AF%D8%A7%D9%87%E2%80%8C%D9%86%DA%AF%D8%A7%D8%B1%DB%8C_%D8%B3%D8
> %A8%DA%A9%E2%80%8C%D9%87%D8%A7%DB%8C_%D9%85%D8%B9%D9%85%D8%A7%D8%B1%DB%8C&old
> id=10839337
> 
> the new patch doesn't have any effect!

I don't see any patch linked from this bug. Was a patch submitted?
Comment 15 reza1615 2013-08-28 17:36:16 UTC
excuse me I mean https://bugzilla.wikimedia.org/show_bug.cgi?id=4030#c20 I forgot to send this message there :) any way it should have an effect on this bug
Comment 16 Bawolff (Brian Wolff) 2013-08-28 17:43:00 UTC
Note, workaround (but causes other problems) is instead of using <timeline> tag, use <timeline method="svg2png">.

We should still change the font

----

Changing PATH_TO_REVIEW -> NEW. I cannot find any currently pending patches for this, and the issue still appears to be present, so I don't think anyone submitted one. If someone did submit a patch, please link to it.
Comment 17 Bawolff (Brian Wolff) 2013-08-28 17:44:36 UTC
(In reply to comment #15)
> excuse me I mean https://bugzilla.wikimedia.org/show_bug.cgi?id=4030#c20 I
> forgot to send this message there :) any way it should have an effect on this
> bug

Hmm, there is that. I think we should call these separate bugs. Making it so glyphs work in png mode for farsi (even with the bidi issues) should be done, which is a separate issue from making svg2png work better, which is a better long term solution.
Comment 18 reza1615 2013-08-28 17:47:06 UTC
(In reply to comment #16)
> Note, workaround (but causes other problems) is instead of using <timeline>
> tag, use <timeline method="svg2png">.

this changing doesn't work properly because the links are moved to right side and the wiki links aren't work as link! and we should search on right side to find hidden links!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links