Changeset 986


Ignore:
Timestamp:
Jul 10, 2013 4:28:58 AM (8 years ago)
Author:
vondreele
Message:

remove getFont using freetype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r985 r986  
    217217            dlg.Destroy()
    218218           
    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 font
    224     else:       #Mac?
    225         return glFreeType.font_data ("cour.ttf", size)    #needs readily available Mac font
    226    
    227219################################################################################
    228220##### PlotSngl
     
    26962688    Bl = np.array([0,0,255])
    26972689    Or = np.array([255,128,0])
    2698 #    our_font = getFont()
    26992690    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]])
    27002691    uEdges = np.array([
Note: See TracChangeset for help on using the changeset viewer.