[haiku-commits] haiku: hrev50713 - src/servers/app/font build/jam/repositories/HaikuPorts src/servers/app docs/interface_guidelines 3rdparty/mmu_man/scripts

  • From: humdingerb@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 27 Nov 2016 19:28:39 +0100 (CET)

hrev50713 adds 2 changesets to branch 'master'
old head: 209b520fa0a36190b51a58072192eee474fe982e
new head: 0baa937bde9d411e23a3157caa498784817e452c
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=0baa937bde9d+%5E209b520fa0a3

----------------------------------------------------------------------------

945566ff4358: Switch from DejaVu to Noto font
  
  As discussed, Noto renders much better with freetype 2.7 [1].
  The DejaVu package is still in the HaikuPorts repo and can be installed
  manually just like all the other available fonts.
  
  [1] 
//www.freelists.org/post/haiku-development/freetype-update-from-265-to-27

0baa937bde9d: Update to freetype 2.7

                                        [ Humdinger <humdingerb@xxxxxxxxx> ]

----------------------------------------------------------------------------

13 files changed, 31 insertions(+), 31 deletions(-)
3rdparty/mmu_man/scripts/generate_icon_table.sh |  2 +-
build/jam/DefaultBuildProfiles                  |  6 +++---
build/jam/repositories/HaikuPorts/x86           |  8 ++++----
build/jam/repositories/HaikuPorts/x86_64        |  4 ++--
build/jam/repositories/HaikuPorts/x86_gcc2      |  8 ++++----
docs/interface_guidelines/haiku.css             |  4 ++--
docs/user/book.css                              |  2 +-
docs/userguide/Haiku-doc.css                    |  2 +-
docs/welcome/Haiku-doc.css                      |  2 +-
src/add-ons/translators/rtf/convert.cpp         |  2 +-
src/kits/network/libnetapi/GopherRequest.cpp    |  2 +-
src/servers/app/ServerConfig.h                  |  8 ++++----
src/servers/app/font/FontManager.cpp            | 12 ++++++------

############################################################################

Commit:      945566ff43583e4f8102b4440c88f53dae775cb4
URL:         http://cgit.haiku-os.org/haiku/commit/?id=945566ff4358
Author:      Humdinger <humdingerb@xxxxxxxxx>
Date:        Sun Nov 27 18:04:26 2016 UTC

Switch from DejaVu to Noto font

As discussed, Noto renders much better with freetype 2.7 [1].
The DejaVu package is still in the HaikuPorts repo and can be installed
manually just like all the other available fonts.

[1] 
//www.freelists.org/post/haiku-development/freetype-update-from-265-to-27

----------------------------------------------------------------------------

diff --git a/3rdparty/mmu_man/scripts/generate_icon_table.sh 
b/3rdparty/mmu_man/scripts/generate_icon_table.sh
index 4aec7fa..680ee27 100755
--- a/3rdparty/mmu_man/scripts/generate_icon_table.sh
+++ b/3rdparty/mmu_man/scripts/generate_icon_table.sh
@@ -11,6 +11,6 @@ for f in data/artwork/icons/*; do
   echo "-label"
   echo "${bn}"
   echo "${tmpf}${bn}.png"
-done | xargs -d '\n' sh -c 'montage -frame 5 -background "#336699" -geometry 
+4+4 -font /system/data/fonts/ttfonts/DejaVuSansCondensed.ttf -pointsize 8 "$@" 
haiku_icons.png' --
+done | xargs -d '\n' sh -c 'montage -frame 5 -background "#336699" -geometry 
+4+4 -font /system/data/fonts/ttfonts/NotoSans-Regular.ttf -pointsize 9 "$@" 
haiku_icons.png' --
 
 rm /tmp/$$_icon_*
diff --git a/build/jam/DefaultBuildProfiles b/build/jam/DefaultBuildProfiles
index 0eb4f7d..b7fa17e 100644
--- a/build/jam/DefaultBuildProfiles
+++ b/build/jam/DefaultBuildProfiles
@@ -75,12 +75,12 @@ rule DefineDefaultBuildProfiles
                        AddHaikuImagePackages
                                bepdf
                                cvs
-                               dejavu
                                keymapswitcher
                                llvm
                                man
                                mercurial
                                nano
+                               noto
                                openssh
                                p7zip
                                pe
@@ -130,9 +130,9 @@ rule DefineDefaultBuildProfiles
                        HAIKU_IMAGE_SIZE ?= 600 ;
 
                        AddHaikuImagePackages
-                               dejavu
                                man
                                nano
+                               noto
                                openssh
                                openssl
                                p7zip
@@ -164,7 +164,6 @@ rule DefineDefaultBuildProfiles
                                binutils
                                bison
                                curl_devel
-                               dejavu
                                expat
                                flex
                                freetype_devel
@@ -179,6 +178,7 @@ rule DefineDefaultBuildProfiles
                                make
                                ncurses6
                                ncurses6_devel
+                               noto
                                python
                                sed
                                texinfo
diff --git a/docs/interface_guidelines/haiku.css 
b/docs/interface_guidelines/haiku.css
index 867536c..cdd108d 100644
--- a/docs/interface_guidelines/haiku.css
+++ b/docs/interface_guidelines/haiku.css
@@ -7,12 +7,12 @@
  */
 
 *, title {
-  font-family: "DejaVu Sans", Arial, sans-serif;
+  font-family: "Noto Sans", Arial, sans-serif;
   color: #333333;
 }
 cmdsynopsis, code, command, computeroutput, envar, filename, keycode, keysym,
 literal, option, parameter, sgmltag, systemitem {
-       font-family: "Deja Vu Mono", Courier, "Courier New", monospace, fixed;
+       font-family: "Noto Mono", Courier, "Courier New", monospace, fixed;
 }
 term {
   font-weight: bold;
diff --git a/docs/user/book.css b/docs/user/book.css
index 02ed8012..b8507ac 100644
--- a/docs/user/book.css
+++ b/docs/user/book.css
@@ -27,7 +27,7 @@ body {
        color: #333333; /* mine shaft */
        background-color: white;
        font-size: 14.4px;
-       font-family: "DejaVu Sans", Arial, sans-serif;
+       font-family: "Noto Sans", Arial, sans-serif;
 }
 
 h1, h2, h3, h4, h5, h6 {
diff --git a/docs/userguide/Haiku-doc.css b/docs/userguide/Haiku-doc.css
index 509c9fe..7a27890 100644
--- a/docs/userguide/Haiku-doc.css
+++ b/docs/userguide/Haiku-doc.css
@@ -21,7 +21,7 @@ body {
        line-height: 1.5;
        margin: 0;
        padding: 0;
-       font-family: "DejaVu Sans", Arial, Helvetica, sans-serif;
+       font-family: "Noto Sans", Arial, Helvetica, sans-serif;
 }
 
 /* link colors and text decoration */
diff --git a/docs/welcome/Haiku-doc.css b/docs/welcome/Haiku-doc.css
index 509c9fe..7a27890 100644
--- a/docs/welcome/Haiku-doc.css
+++ b/docs/welcome/Haiku-doc.css
@@ -21,7 +21,7 @@ body {
        line-height: 1.5;
        margin: 0;
        padding: 0;
-       font-family: "DejaVu Sans", Arial, Helvetica, sans-serif;
+       font-family: "Noto Sans", Arial, Helvetica, sans-serif;
 }
 
 /* link colors and text decoration */
diff --git a/src/add-ons/translators/rtf/convert.cpp 
b/src/add-ons/translators/rtf/convert.cpp
index 6a6577d..4924f7f 100644
--- a/src/add-ons/translators/rtf/convert.cpp
+++ b/src/add-ons/translators/rtf/convert.cpp
@@ -808,7 +808,7 @@ status_t convert_styled_text_to_rtf(
        } else {
                // There is no STYL section
                // Just use a generic preamble
-               rtfFile << "{\\fonttbl\\f0 DejaVu Sans;}\\f0\\pard " << 
plainText
+               rtfFile << "{\\fonttbl\\f0 Noto Sans;}\\f0\\pard " << plainText
                        << "}";
        }
        
diff --git a/src/kits/network/libnetapi/GopherRequest.cpp 
b/src/kits/network/libnetapi/GopherRequest.cpp
index 28f5563..13f3a8f 100644
--- a/src/kits/network/libnetapi/GopherRequest.cpp
+++ b/src/kits/network/libnetapi/GopherRequest.cpp
@@ -143,7 +143,7 @@ static const char *kStyleSheet = "\n"
 "body#gopher span {\n"
 "      margin-left: 1em;\n"
 "      padding-left: 2em;\n"
-"      font-family: 'DejaVu Sans Mono', Courier, monospace;\n"
+"      font-family: 'Noto Mono', Courier, monospace;\n"
 "      word-wrap: break-word;\n"
 "      white-space: pre-wrap; }\n"
 "\n"
diff --git a/src/servers/app/ServerConfig.h b/src/servers/app/ServerConfig.h
index 8d05dd4..6416516 100644
--- a/src/servers/app/ServerConfig.h
+++ b/src/servers/app/ServerConfig.h
@@ -27,17 +27,17 @@
 
 // These definitions provide the server something to use for default
 // system fonts.
-#define DEFAULT_PLAIN_FONT_FAMILY "DejaVu Sans"
+#define DEFAULT_PLAIN_FONT_FAMILY "Noto Sans"
 #define FALLBACK_PLAIN_FONT_FAMILY "Swis721 BT"
 #define DEFAULT_PLAIN_FONT_STYLE "Book"
 #define DEFAULT_PLAIN_FONT_SIZE 12.0f
-#define DEFAULT_BOLD_FONT_FAMILY "DejaVu Sans"
+#define DEFAULT_BOLD_FONT_FAMILY "Noto Sans"
 #define FALLBACK_BOLD_FONT_FAMILY "Swis721 BT"
 #define DEFAULT_BOLD_FONT_STYLE "Bold"
 #define DEFAULT_BOLD_FONT_SIZE 12.0f
-#define DEFAULT_FIXED_FONT_FAMILY "DejaVu Sans Mono"
+#define DEFAULT_FIXED_FONT_FAMILY "Noto Mono"
 #define FALLBACK_FIXED_FONT_FAMILY "Courier10 BT"
-#define DEFAULT_FIXED_FONT_STYLE "Book"
+#define DEFAULT_FIXED_FONT_STYLE "Regular"
 #define DEFAULT_FIXED_FONT_SIZE 12.0f
 
 // This is the port capacity for all monitoring objects - ServerApps
diff --git a/src/servers/app/font/FontManager.cpp 
b/src/servers/app/font/FontManager.cpp
index 43b1801..088b23f 100644
--- a/src/servers/app/font/FontManager.cpp
+++ b/src/servers/app/font/FontManager.cpp
@@ -334,16 +334,16 @@ FontManager::_LoadRecentFontMappings()
                ttfontsPath.Append("ttfonts");
 
                BPath veraFontPath = ttfontsPath;
-               veraFontPath.Append("DejaVuSans.ttf");
-               _AddDefaultMapping("DejaVu Sans", "Book", veraFontPath.Path());
+               veraFontPath.Append("NotoSans-Regular.ttf");
+               _AddDefaultMapping("Noto Sans", "Book", veraFontPath.Path());
 
                veraFontPath.SetTo(ttfontsPath.Path());
-               veraFontPath.Append("DejaVuSans-Bold.ttf");
-               _AddDefaultMapping("DejaVu Sans", "Bold", veraFontPath.Path());
+               veraFontPath.Append("NotoSans-Bold.ttf");
+               _AddDefaultMapping("Noto Sans", "Bold", veraFontPath.Path());
 
                veraFontPath.SetTo(ttfontsPath.Path());
-               veraFontPath.Append("DejaVuSansMono.ttf");
-               _AddDefaultMapping("DejaVu Sans Mono", "Book", 
veraFontPath.Path());
+               veraFontPath.Append("NotoMono-Regular.ttf");
+               _AddDefaultMapping("Noto Mono", "Regular", veraFontPath.Path());
 
                return true;
        }

############################################################################

Revision:    hrev50713
Commit:      0baa937bde9d411e23a3157caa498784817e452c
URL:         http://cgit.haiku-os.org/haiku/commit/?id=0baa937bde9d
Author:      Humdinger <humdingerb@xxxxxxxxx>
Date:        Sun Nov 27 18:08:23 2016 UTC

Update to freetype 2.7

----------------------------------------------------------------------------

diff --git a/build/jam/repositories/HaikuPorts/x86 
b/build/jam/repositories/HaikuPorts/x86
index 89ca5b4..d7c0bd0 100644
--- a/build/jam/repositories/HaikuPorts/x86
+++ b/build/jam/repositories/HaikuPorts/x86
@@ -109,8 +109,8 @@ RemotePackageRepository HaikuPorts
        fontconfig-2.11.95-1
        fontconfig_devel-2.11.95-1
        fossil-1.36-3
-       freetype-2.6.5-1
-       freetype_devel-2.6.5-1
+       freetype-2.7-1
+       freetype_devel-2.7-1
        gawk-4.1.3-1
        gcc-5.4.0_2016_06_04-1
        gcc_syslibs-5.4.0_2016_06_04-1
@@ -391,8 +391,8 @@ RemotePackageRepository HaikuPorts
        flac_x86_gcc2-1.3.1-1
        flac_x86_gcc2_devel-1.3.1-1
        fluidlite_x86_gcc2_devel-1.0.0-1
-       freetype_x86_gcc2-2.6.5-1
-       freetype_x86_gcc2_devel-2.6.5-1
+       freetype_x86_gcc2-2.7-1
+       freetype_x86_gcc2_devel-2.7-1
        gcc_x86_gcc2-2.95.3_2014_07_26-1
        gcc_x86_gcc2_syslibs_devel-2.95.3_2014_07_26-1
        gettext_x86_gcc2-0.19.6-2
diff --git a/build/jam/repositories/HaikuPorts/x86_64 
b/build/jam/repositories/HaikuPorts/x86_64
index d27c135..0c630c2 100644
--- a/build/jam/repositories/HaikuPorts/x86_64
+++ b/build/jam/repositories/HaikuPorts/x86_64
@@ -115,8 +115,8 @@ RemotePackageRepository HaikuPorts
        fontconfig_devel-2.11.94-1
        fossil-1.36-3
        freeciv-2.5.1-2
-       freetype-2.6.5-1
-       freetype_devel-2.6.5-1
+       freetype-2.7-1
+       freetype_devel-2.7-1
        fribidi-0.19.6-2
        fribidi_devel-0.19.6-2
        gawk-4.1.0-2
diff --git a/build/jam/repositories/HaikuPorts/x86_gcc2 
b/build/jam/repositories/HaikuPorts/x86_gcc2
index ff2598f..bc591ed 100644
--- a/build/jam/repositories/HaikuPorts/x86_gcc2
+++ b/build/jam/repositories/HaikuPorts/x86_gcc2
@@ -142,8 +142,8 @@ RemotePackageRepository HaikuPorts
        fontconfig-2.11.1-3
        fontconfig_devel-2.11.1-3
        fossil-1.36-3
-       freetype-2.6.5-1
-       freetype_devel-2.6.5-1
+       freetype-2.7-1
+       freetype_devel-2.7-1
        fribidi-0.19.6-2
        fribidi_devel-0.19.6-2
        friss-0.8.0-1
@@ -664,8 +664,8 @@ RemotePackageRepository HaikuPorts
        fontconfig_x86-2.11.1-3
        fontconfig_x86_devel-2.11.1-3
        freedroidrpg_x86-0.15.1-1
-       freetype_x86-2.6.5-1
-       freetype_x86_devel-2.6.5-1
+       freetype_x86-2.7-1
+       freetype_x86_devel-2.7-1
        fribidi_x86-0.19.6-2
        fribidi_x86_devel-0.19.6-2
        gcc_x86-5.4.0_2016_06_04-1


Other related posts:

  • » [haiku-commits] haiku: hrev50713 - src/servers/app/font build/jam/repositories/HaikuPorts src/servers/app docs/interface_guidelines 3rdparty/mmu_man/scripts - humdingerb