Skip to content

Commit

Permalink
Fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
eprovst committed Jun 18, 2018
1 parent b3abd35 commit d5fccc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdf/fonts.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func loadCourierNew() error {
// Italic
pathToItalic, err := findFont("Courier New Italic.ttf")
if err != nil {
pathToRegular, err = findFont("couri.ttf")
pathToItalic, err = findFont("couri.ttf")
}

if err != nil {
Expand All @@ -140,7 +140,7 @@ func loadCourierNew() error {
// Bold italic
pathToBoldItalic, err := findFont("Courier New Bold Italic.ttf")
if err != nil {
pathToRegular, err = findFont("courbi.ttf")
pathToBoldItalic, err = findFont("courbi.ttf")
}

if err != nil {
Expand Down

0 comments on commit d5fccc1

Please sign in to comment.