# 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 1347 - '\phi' and '\varphi' not necessarily distinguished in Unicode
 Summary: '\phi' and '\varphi' not necessarily distinguished in Unicode
 Status: Product: RESOLVED FIXED MediaWiki extensions Unclassified Component: Math (Other open bugs) unspecified All All Normal minor with 1 vote (vote) --- Nobody - You can work on this! patch 16719 unicode Show dependency tree / graph

 Reported: 2005-01-17 00:17 UTC by Lluís Batlle 2010-05-17 19:54 UTC (History) 4 users (show) bastian gsvick hartman.wiki Till.Mossakowski --- --- ---

Attachments
render as U+03D5 (764 bytes, patch)
2009-08-23 13:25 UTC, Derk-Jan Hartman
Details
render always as png (739 bytes, patch)
2009-08-23 13:26 UTC, Derk-Jan Hartman
Details

 Lluís Batlle 2005-01-17 00:17:10 UTC Is it possible in unicode to show that difference of 'phi'? I have a text, where I want \phi, and appears \varphi (when showin the formulæ in unicode, in the mediawiki). If I copy that unicode character (\phi) to different fonts, in some I get \varphi, and in some I get \phi. so, how to get those characters _always_ properly in unicode? maybe allowing only PNG of them? Peter Berry 2006-12-16 02:24:19 UTC http://en.wikipedia.org/wiki/Phi is affected by this: in Firefox on Ubuntu Edgy (using Bitstream Vera Serif), the four variant glyphs for lowercase phi shown in the lede are indistinguishable, in particular the TeX markup \phi is indistinguishable from \varphi (they all look like the latter). Sometimes the distinction is important, so I think the presence of \phi should always force rendering of the png. Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-16 23:42:53 UTC Unicode has a dedicated character for the stroked phi (GREEK PHI SYMBOL, U+03D5, ϕ), but apparently no specific character for the loopy phi. Font authors get to decide whether to render GREEK SMALL LETTER PHI, U+03C6, φ stroked or loopy. Of course, there's also variation in displaying U+03D5. All in all it's probably best to always use images when showcasing particular variants of a letter. But if there's also a difference sometimes for general mathematical use, as Peter Barry says, it would indeed be wise to always render phi to PNG. (When is there a difference?) Bastian Blankenburg 2007-06-28 08:41:45 UTC I got confused by this when reading the "Michael Dummett" section in http://en.wikipedia.org/wiki/Anti-realism - the Phi is displayed differently in the "exists x.phi(x)"-term than in the "t of which phi holds"-term. The first one displays as the latin small letter, the second one as the greek one. I tested this with Ubuntu Feisty with both Firefox and Epiphany with different fonts. If you do not happen to know that both symbols should actually be the same one, that statement there does not make any sense. Derk-Jan Hartman 2009-08-23 13:22:17 UTC We were discussing this issue again on VPT. We noticed that in html \phi is rendered as html "small letter phi" φ http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Rendering_of_phi_in_.3Cmath.3E Lexically this is seems correct, but in latex \phi should always be the small stroked version and \varphi should always be the loopy version of the character. (See http://mirror.hmc.edu/ctan/info/symbols/comprehensive/symbols-letter.pdf ) Because in unicode, the small letter phi can be either loopy OR stroked, translating \phi as unicode small letter phi is not correct. \phi should therefore either be always rendered in PNG, or alternatively, we could render it with ϕ Since we always use \phi in a math context and ϕ is reserved for the small stroked math version of the phi symbol, this is a correct translation when convert math. I have attached patches for both alternative corrections. Derk-Jan Hartman 2009-08-23 13:25:40 UTC Created attachment 6486 [details] render as U+03D5 Derk-Jan Hartman 2009-08-23 13:26:06 UTC Created attachment 6487 [details] render always as png Derk-Jan Hartman 2010-04-03 13:22:05 UTC *** Bug 16438 has been marked as a duplicate of this bug. *** Derk-Jan Hartman 2010-05-17 19:54:21 UTC Applied the PNG fix in r66580 At least that is consistent.

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