From 6fb38157d3d0d8aa6a494f20163b47a0ce821bff Mon Sep 17 00:00:00 2001 From: Jens Broekens Date: Tue, 15 Oct 2019 16:49:39 +0200 Subject: Fix BDF properties Fixes #11 and italic variant being mistaken for bold variant --- bold/curieBold-12.bdf | 8 +++----- bold/curieBold.sfd | 8 +++----- italic/curieItalic-12.bdf | 12 +++++------- italic/curieItalic.sfd | 12 +++++------- regular/curieMedium-12.bdf | 6 ++---- regular/curieMedium.sfd | 6 ++---- 6 files changed, 20 insertions(+), 32 deletions(-) diff --git a/bold/curieBold-12.bdf b/bold/curieBold-12.bdf index 2e18098..87f0a85 100644 --- a/bold/curieBold-12.bdf +++ b/bold/curieBold-12.bdf @@ -1,15 +1,13 @@ STARTFONT 2.1 FONT -nerdypepper-curie-Bold-R-Normal--12-120-72-72-C-60-ISO10646-1 -SIZE "12 72 72" +SIZE 12 72 72 FONTBOUNDINGBOX 6 12 0 -2 COMMENT "Generated by fontforge, http://fontforge.sourceforge.net" COMMENT "Generated by gdbfed" -STARTPROPERTIES 25 -SIZE "12 72 72" -FONTBOUNDINGBOX "6 12 0 -2" +STARTPROPERTIES 23 FAMILY_NAME "curie" FOUNDRY "nerdypepper" -SETWIDTH_NAME "Bold" +SETWIDTH_NAME "Normal" ADD_STYLE_NAME "" COPYRIGHT "Copyright (C) 2018 nerdypepper" WEIGHT_NAME "Bold" diff --git a/bold/curieBold.sfd b/bold/curieBold.sfd index d9e8c2d..2044dff 100644 --- a/bold/curieBold.sfd +++ b/bold/curieBold.sfd @@ -3523,17 +3523,15 @@ LayerCount: 2 EndChar EndChars BitmapFont: 12 434 10 2 1 nerdypepper -BDFStartProperties: 30 +BDFStartProperties: 28 FONT 1 "-nerdypepper-curie-Bold-R-Normal--12-120-72-72-C-60-ISO10646-1" -SIZE 0 "12 72 72" +SIZE 1 "12 72 72" FONTBOUNDINGBOX 1 "6 12 0 -2" COMMENT 0 "Generated by fontforge, http://fontforge.sourceforge.net" COMMENT 0 "Generated by gdbfed" -SIZE 16 "12 72 72" -FONTBOUNDINGBOX 16 "6 12 0 -2" FAMILY_NAME 16 "curie" FOUNDRY 16 "nerdypepper" -SETWIDTH_NAME 16 "Bold" +SETWIDTH_NAME 16 "Normal" ADD_STYLE_NAME 16 "" COPYRIGHT 16 "Copyright (C) 2018 nerdypepper" WEIGHT_NAME 16 "Bold" diff --git a/italic/curieItalic-12.bdf b/italic/curieItalic-12.bdf index 3058649..32287fb 100644 --- a/italic/curieItalic-12.bdf +++ b/italic/curieItalic-12.bdf @@ -1,19 +1,17 @@ STARTFONT 2.1 -FONT -nerdypepper-curie-Bold-R-Normal--12-120-72-72-C-60-ISO10646-1 -SIZE "12 72 72" +FONT -nerdypepper-curie-Medium-I-Normal--12-120-72-72-C-60-ISO10646-1 +SIZE 12 72 72 FONTBOUNDINGBOX 6 12 0 -2 COMMENT "Generated by fontforge, http://fontforge.sourceforge.net" COMMENT "Generated by gdbfed" -STARTPROPERTIES 25 -SIZE "12 72 72" -FONTBOUNDINGBOX "6 12 0 -2" +STARTPROPERTIES 23 FAMILY_NAME "curie" FOUNDRY "nerdypepper" SETWIDTH_NAME "Normal" ADD_STYLE_NAME "" COPYRIGHT "Copyright (C) 2018 nerdypepper" -WEIGHT_NAME "Bold" -SLANT "R" +WEIGHT_NAME "Medium" +SLANT "I" PIXEL_SIZE 12 POINT_SIZE 120 RESOLUTION_X 72 diff --git a/italic/curieItalic.sfd b/italic/curieItalic.sfd index bafa0eb..43b504d 100644 --- a/italic/curieItalic.sfd +++ b/italic/curieItalic.sfd @@ -3522,21 +3522,19 @@ LayerCount: 2 EndChar EndChars BitmapFont: 12 433 10 2 1 nerdypepper -BDFStartProperties: 30 -FONT 1 "-nerdypepper-curie-Bold-R-Normal--12-120-72-72-C-60-ISO10646-1" -SIZE 0 "12 72 72" +BDFStartProperties: 28 +FONT 1 "-nerdypepper-curie-Medium-I-Normal--12-120-72-72-C-60-ISO10646-1" +SIZE 1 "12 72 72" FONTBOUNDINGBOX 1 "6 12 0 -2" COMMENT 0 "Generated by fontforge, http://fontforge.sourceforge.net" COMMENT 0 "Generated by gdbfed" -SIZE 16 "12 72 72" -FONTBOUNDINGBOX 16 "6 12 0 -2" FAMILY_NAME 16 "curie" FOUNDRY 16 "nerdypepper" SETWIDTH_NAME 16 "Normal" ADD_STYLE_NAME 16 "" COPYRIGHT 16 "Copyright (C) 2018 nerdypepper" -WEIGHT_NAME 16 "Bold" -SLANT 16 "R" +WEIGHT_NAME 16 "Medium" +SLANT 16 "I" PIXEL_SIZE 18 12 POINT_SIZE 18 120 RESOLUTION_X 19 72 diff --git a/regular/curieMedium-12.bdf b/regular/curieMedium-12.bdf index 48ce1e8..a83945a 100644 --- a/regular/curieMedium-12.bdf +++ b/regular/curieMedium-12.bdf @@ -1,12 +1,10 @@ STARTFONT 2.1 FONT -nerdypepper-curie-Medium-R-Normal--12-120-72-72-C-60-ISO10646-1 -SIZE "12 72 72" +SIZE 12 72 72 FONTBOUNDINGBOX 6 12 0 -2 COMMENT "Generated by fontforge, http://fontforge.sourceforge.net" COMMENT "Generated by gdbfed" -STARTPROPERTIES 25 -SIZE "12 72 72" -FONTBOUNDINGBOX "6 12 0 -2" +STARTPROPERTIES 23 FAMILY_NAME "curie" FOUNDRY "nerdypepper" SETWIDTH_NAME "Normal" diff --git a/regular/curieMedium.sfd b/regular/curieMedium.sfd index fe74307..b34d8cd 100644 --- a/regular/curieMedium.sfd +++ b/regular/curieMedium.sfd @@ -3618,14 +3618,12 @@ LayerCount: 2 EndChar EndChars BitmapFont: 12 445 10 2 1 nerdypepper -BDFStartProperties: 30 +BDFStartProperties: 28 FONT 1 "-nerdypepper-curie-Medium-R-Normal--12-120-72-72-C-60-ISO10646-1" -SIZE 0 "12 72 72" +SIZE 1 "12 72 72" FONTBOUNDINGBOX 1 "6 12 0 -2" COMMENT 0 "Generated by fontforge, http://fontforge.sourceforge.net" COMMENT 0 "Generated by gdbfed" -SIZE 16 "12 72 72" -FONTBOUNDINGBOX 16 "6 12 0 -2" FAMILY_NAME 16 "curie" FOUNDRY 16 "nerdypepper" SETWIDTH_NAME 16 "Normal" -- cgit v1.2.3