mailr20919 - /trunk/lib/text/gui.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on September 06, 2013 - 19:01:
Author: bugman
Date: Fri Sep  6 19:01:13 2013
New Revision: 20919

URL: http://svn.gna.org/viewcvs/relax?rev=20919&view=rev
Log:
MS Windows fixes for the GUI for missing unicode font glyphs.


Modified:
    trunk/lib/text/gui.py

Modified: trunk/lib/text/gui.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/text/gui.py?rev=20919&r1=20918&r2=20919&view=diff
==============================================================================
--- trunk/lib/text/gui.py (original)
+++ trunk/lib/text/gui.py Fri Sep  6 19:01:13 2013
@@ -28,10 +28,17 @@
 # relax module imports.
 from compat import SYSTEM, u
 
+# Windows.
+win = False
+if SYSTEM == 'Windows':
+    win = True
 
 # Relaxation data GUI text elements.
 r1 = u("R\u2081")
 r2 = u("R\u2082")
+if win:
+    r1 = "R1"
+    r2 = "R2"
 
 # Model-free GUI text elements.
 s2 = u("S\u00B2")
@@ -45,3 +52,7 @@
 rex = u("R\u2091\u2093")
 csa = "CSA"
 r = "r"
+if win:
+    local_tm = u("local \u03C4m")
+    tm = u("\u03C4m")
+    rex = "Rex"




Related Messages


Powered by MHonArc, Updated Fri Sep 06 19:20:02 2013