Skip to content

Commit

Permalink
fixed Verdana font issue
Browse files Browse the repository at this point in the history
  • Loading branch information
reillypascal committed Jun 16, 2024
1 parent e8cc09e commit ea178bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/GUIStyles.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ class GrayBlueLookAndFeel : public juce::LookAndFeel_V4
setColour(juce::TextButton::textColourOnId, juce::Colours::black);

// fonts
setDefaultSansSerifTypeface(juce::LookAndFeel::getTypefaceForFont(juce::Font("Verdana", 18.0f, juce::Font::plain)));
// setDefaultSansSerifTypeface(juce::LookAndFeel::getTypefaceForFont(juce::Font("Verdana", 18.0f, juce::Font::plain)));
}
};
4 changes: 2 additions & 2 deletions Source/PluginEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ void RSBrokenMediaAudioProcessorEditor::paint (juce::Graphics& g)

g.setColour (juce::Colours::aliceblue);
// Title
g.setFont (juce::Font("Verdana", 32.0f, juce::Font::plain));
g.setFont (32.0f);
g.drawFittedText ("RS Broken Media", 25, 10, 350, 45, juce::Justification::left, 1);
// info
g.setFont (juce::Font("Verdana", 16.0f, juce::Font::plain));
g.setFont (16.0f);
g.drawFittedText ("Version 0.3.0\n reillyspitzfaden.com", getWidth() - 375, 15, 350, 45, juce::Justification::right, 2);

// panels
Expand Down

0 comments on commit ea178bd

Please sign in to comment.