NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 06-08-2012, 03:52 AM   #1
Randwulf
Member
 
Join Date: Aug 2008
Posts: 44
Thanks: 1
Thanked 0 times in 0 posts
Question Change Font...

Is there a way to import a new font into the "Ninja Script Editor" ?
I've installed a new monospace font into windows but, it along with many others are not listed for selection in the editor ??

Thx in advance.
Randwulf is offline  
Reply With Quote
Old 06-08-2012, 04:21 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 978 times in 961 posts
Default

Randwulf, I don't think it's possible, but will check further with development into. Thanks for the question.
NinjaTrader_Bertrand is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Bertrand for this post:
Old 06-08-2012, 06:21 AM   #3
koganam
Senior Member
 
Join Date: Feb 2008
Location: Durham, North Carolina, USA
Posts: 3,218
Thanks: 24
Thanked 1,231 times in 1,002 posts
Send a message via Skype™ to koganam
Default

Quote:
Originally Posted by Randwulf View Post
Is there a way to import a new font into the "Ninja Script Editor" ?
I've installed a new monospace font into windows but, it along with many others are not listed for selection in the editor ??

Thx in advance.
Sounds like you have a corrupted OS. All the fonts are listed and available on my system, even the symbols font that I personally created so that I can control draw object placements.
Attached Images
File Type: jpg OsiChartFontInIndicator.JPG (115.9 KB, 5 views)
koganam is offline  
Reply With Quote
Old 06-08-2012, 10:24 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 978 times in 961 posts
Default

Thanks koganam, that's interesting, so you're sure all fonts as listed under the Win Control Panel / Personalization are available for selection for you?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 06-08-2012, 04:06 PM   #5
koganam
Senior Member
 
Join Date: Feb 2008
Location: Durham, North Carolina, USA
Posts: 3,218
Thanks: 24
Thanked 1,231 times in 1,002 posts
Send a message via Skype™ to koganam
Default

Quote:
Originally Posted by NinjaTrader_Bertrand View Post
Thanks koganam, that's interesting, so you're sure all fonts as listed under the Win Control Panel / Personalization are available for selection for you?
Yes. As I showed even my own DrawingFont that I created for drawing symbols, so that I can place drawing with the offset precision available in DrawText(), is available, and that is certainly NOT a standard Windows font.
Attached Images
File Type: png OsiFontSelection.png (71.9 KB, 6 views)
koganam is offline  
Reply With Quote
Old 06-09-2012, 12:33 PM   #6
Randwulf
Member
 
Join Date: Aug 2008
Posts: 44
Thanks: 1
Thanked 0 times in 0 posts
Default Thanks koganam

Thank you for taking the time to respond & the jpg..
Windows makes all of my fonts available but, it's just in the Ninja Script Editor that only basic fonts are available to me. I've not had any other issues with Ninja so I'm wondering if a dll or something didn't load correctly with the Ninja install. I really hate to reload Ninja just for that. I'm using the Consolas Font at the moment which works very well. I just thought that I would try a few different monospace fonts. That's when I noticed that they were available in windows but not the editor.

Thanks again koganam...
Can a couple of others confirm that added windows fonts are or are not available to them ??
Randwulf is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
change font for drawtextfixed daglas General Programming 5 05-28-2012 06:10 AM
How to change font bubblegum Indicator Development 2 04-16-2011 12:30 PM
Change Font Size ghunt Strategy Development 2 08-04-2010 10:22 AM
font size mballagan Miscellaneous Support 3 06-12-2009 11:20 AM
DrawText...Font...how do you use the font param? Can't find any examples funk101 General Programming 8 05-29-2007 07:10 AM


All times are GMT -6. The time now is 07:18 PM.