Changeset 986 for trunk/GSASIIplot.py
- Timestamp:
- Jul 10, 2013 4:28:58 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r985 r986 217 217 dlg.Destroy() 218 218 219 def getFont(size=16):220 if 'win' in sys.platform:221 return glFreeType.font_data ("cour.ttf", size)222 elif 'linux' in sys.platform:223 return glFreeType.font_data ("cour.ttf", size) #needs readily available linux font224 else: #Mac?225 return glFreeType.font_data ("cour.ttf", size) #needs readily available Mac font226 227 219 ################################################################################ 228 220 ##### PlotSngl … … 2696 2688 Bl = np.array([0,0,255]) 2697 2689 Or = np.array([255,128,0]) 2698 # our_font = getFont()2699 2690 uBox = np.array([[0,0,0],[1,0,0],[1,1,0],[0,1,0],[0,0,1],[1,0,1],[1,1,1],[0,1,1]]) 2700 2691 uEdges = np.array([
Note: See TracChangeset
for help on using the changeset viewer.