Skip to content

Commit

Permalink
Adapted to usage of new version of OCR-Fritzing-mono font.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kjell Morgenstern authored and KjellMorgenstern committed Apr 25, 2023
1 parent fdb3261 commit bcba74f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion phoenixresources.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
<file>resources/fonts/DroidSans-Bold.ttf</file>
<file>resources/fonts/NOTICE</file>
<file>resources/fonts/OCRA.ttf</file>
<file>resources/fonts/OCR-Fritzing_mono.otf</file>
<file>resources/fonts/OCR-Fritzing-mono.otf</file>
<file>resources/bins/my_parts.fzb</file>
<file>resources/bins/search.fzb</file>
<file>resources/bins/temp.fzb</file>
Expand Down
2 changes: 1 addition & 1 deletion resources/parts/svg/core/pcb/copper1logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion resources/parts/svg/core/pcb/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/fapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ void FApplication::registerFonts() {
registerFont(":/resources/fonts/DroidSansMono.ttf", false);
registerFont(":/resources/fonts/OCRA.ttf", true);
registerFont(":/resources/fonts/Segment16/Segment16C Bold.ttf", true);
registerFont(":/resources/fonts/OCR-Fritzing_mono.otf", true);
registerFont(":/resources/fonts/OCR-Fritzing-mono.otf", true);

// "Droid Sans"
// "Droid Sans Mono"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static QDir ___emptyDir___;
static QByteArray ___emptyByteArray___;

static const QString OCRAFontName("OCRA");
static const QString OCRFFontName("OCR-Fritzing mono");
static const QString OCRFFontName("OCR-Fritzing-mono");

static const QString ResourcePath(":/resources/");

Expand Down

0 comments on commit bcba74f

Please sign in to comment.