• R/O
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Commit MetaInfo

Revisión8 (tree)
Tiempo2015-01-10 12:10:53
Autormm-rounded

Log Message

フォントのバージョン表記を修正

Cambiar Resumen

Diferencia incremental

--- trunk/cygwinhome/genshin/mmutils.py (revision 7)
+++ trunk/cygwinhome/genshin/mmutils.py (revision 8)
@@ -760,7 +760,7 @@
760760
761761 # -----------------------------------------------------------------------------
762762 # フォント名と Adobe のコピーライトを設定
763-# (フォントオブジェクト, "Rounded M+ 1c", "rounded-mplus-1c", "thin", "1.058")
763+# (フォントオブジェクト, "源真ゴシック", "Gen Shin Gothic", "GenShinGothic", "ExtraLight")
764764 # -----------------------------------------------------------------------------
765765 def set_fontnames_with_adobe(f, fontname, fontnameeng, psfontname, weight, version = "", date = ""):
766766 now = datetime.datetime.now()
@@ -866,9 +866,9 @@
866866 prefix = ''
867867 prefixps = ''
868868
869- if fontname[0:4] == "M+ 1" or fontname[0:4] == "M+ 2"
869+ if fontname[0:4] == "M+ 1" or fontname[0:4] == "M+ 2":
870870 url = 'http://mplus-fonts.sourceforge.jp/'
871- else
871+ else:
872872 url = 'http://jikasei.me/'
873873
874874 copyright = "Copyright(c) %s M+ FONTS PROJECT" % year
--- trunk/cygwinhome/genshin/generate_genshin.py (revision 7)
+++ trunk/cygwinhome/genshin/generate_genshin.py (revision 8)
@@ -1039,6 +1039,8 @@
10391039 progress_print_begin()
10401040 glyphPos = 0
10411041 font2 = fontforge.open('conv/Glyphs-SourceHanSansJP-%s.ttf' % (weight))
1042+ version = font2.version
1043+ sfntrev = font2.sfntRevision
10421044 for glyph in font.glyphs():
10431045 glyphPos += 1
10441046 progress_print_bar( glyphPos, glyphLength, "[3] %04x (%s)" % (glyph.unicode, glyph.glyphname) )
@@ -1068,6 +1070,9 @@
10681070 # Glyphs for Mac で生成したものをマージ
10691071 font.mergeFonts('conv/Glyphs-SourceHanSansJP-%s.ttf' % (weight))
10701072
1073+ font.version = version
1074+ font.sfntRevision = sfntrev
1075+
10711076 set_fontnames_with_adobe(font, "源真ゴシック", "Gen Shin Gothic", "GenShinGothic", weight)
10721077
10731078 # 黒丸付き数字のコピー