-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using Arial Currently to avoid embedding font right now
- Loading branch information
Joseph Lyons
authored and
Joseph Lyons
committed
May 12, 2017
1 parent
db3f425
commit bf9dbd5
Showing
10 changed files
with
108 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// EmbeddedFonts.cpp | ||
// The Lyons' Den Delay Time Calculator | ||
// | ||
// Created by Joseph Lyons on 5/9/17. | ||
// | ||
// | ||
|
||
// Dismiss this file until future versions that will have embedded fonts | ||
|
||
#include "EmbeddedFonts.hpp" | ||
|
||
EmbeddedFonts::EmbeddedFonts() | ||
{ | ||
calistoMT = Font(Typeface::createSystemTypefaceFor(BinaryData::CalistoMT_ttf, | ||
BinaryData::CalistoMT_ttfSize)); | ||
} | ||
|
||
Font& EmbeddedFonts::getCalistoMT() | ||
{ | ||
return calistoMT; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// | ||
// EmbeddedFonts.hpp | ||
// The Lyons' Den Delay Time Calculator | ||
// | ||
// Created by Joseph Lyons on 5/9/17. | ||
// | ||
// | ||
|
||
#ifndef EmbeddedFonts_hpp | ||
#define EmbeddedFonts_hpp | ||
|
||
#include "../JuceLibraryCode/JuceHeader.h" | ||
|
||
// Dismiss this file until future versions that will have embedded fonts | ||
|
||
class EmbeddedFonts | ||
{ | ||
private: | ||
static ScopedPointer<EmbeddedFonts> instance_; | ||
Font calistoMT; | ||
|
||
public: | ||
EmbeddedFonts(); | ||
|
||
static EmbeddedFonts* instance() | ||
{ | ||
static EmbeddedFonts instance; | ||
return &instance; | ||
} | ||
|
||
Font& getCalistoMT(); | ||
}; | ||
|
||
//struct CalistoMT | ||
//{ | ||
// Font font; | ||
// | ||
// CalistoMT() | ||
// { | ||
// Typeface::Ptr ptr = Typeface::createSystemTypefaceFor(BinaryData::Calisto_MT, | ||
// BinaryData::Calisto_MTSize); | ||
// | ||
// font = Font(ptr); | ||
// } | ||
//}; | ||
|
||
|
||
#endif /* EmbeddedFonts_hpp */ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.