Thread: Font Revision
View Single Post
05-17-16, 11:15 AM   #2
VincentSDSH
Non-Canadian Luzer!
 
VincentSDSH's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 350
I tested Legible Mail (link in signature) and it seemed to work fine. Here's a snip of the fontObject:SetFont() call.

Lua Code:
  1. local fontObject = CreateFont("LegibleMail_Font")
  2. local isOK = fontObject:SetFont(LSM:Fetch("font", sdg.font), sdg.fontSize, "") 
  3.        
  4. OpenMailBodyText:SetFontObject(fontObject)      -- READING
  5. SendMailBodyEditBox:SetFontObject(fontObject)   -- WRITING
__________________
AddonsExecutive Assistant User Configurable To-Do ListLegible Mail Choose the Font for Your Mail