热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

TroublegeneratingFantasqueSansMonoItaliconArchlinux

Hi,ImtryingtobuildthelatestchangesofyourexcellentfontonArchlinuxand

Hi,

I'm trying to build the latest changes of your excellent font on Archlinux and I'm running into some trouble. Running the

1
PKGBUILD

for

1
ttf-fantasque-sans-git

presents me with the following output:

1
2
3
4
5
6
7
8
9
10
11
12
13
mkdir -p OTF Webfonts

./validate-generate "FantasqueSansMono-Italic"

Generating FantasqueSansMono-Italic...

Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors.

 License GPLv3+: GNU GPL version 3 or later

 with many parts BSD . Please read LICENSE.

 Based on sources from 23:20 UTC 28-Sep-2015-ML-D.

 Based on source from git with hash:

Error in FantasqueSansMono-Italic.

Font FantasqueSansMono-Italic.sfd is not valid

Makefile:17: recipe for target 'FantasqueSansMono-Italic.ttf' failed

make: *** [FantasqueSansMono-Italic.ttf] Error 42


After starting an interactive Python session with

1
fontforge -lang=py -script

and manually stepping through the python script in

1
validate-generate

, it seems that on my system

1
font.validate()

returns

1
524288

, which is

1
80000

in hexadecimal. Looking at the fontforge documentation this is the only reference I could find to it:

0x80000

Points non-integral. TrueType points and control points must be integer aligned. (FontForge will round them if they aren’t)

If I call

1
font.validate(True)

instead, I also get the error

1
0x800000

(along with

1
0x80000

), to which I found the reference:

0x800000

Overlapped hints. Either the glyph has no hint masks and there are overlapped hints, or a hint mask specifies two overlapping hints.

In case it helps, this is the output of

1
fontforge -version

:

1
2
3
4
5
6
7
8
9
10
11
12
13
Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors.

 License GPLv3+: GNU GPL version 3 or later

 with many parts BSD . Please read LICENSE.

 Based on sources from 23:20 UTC 28-Sep-2015-ML-D.

 Based on source from git with hash:

no xdefs_filename!

TESTING: getPixmapDir:/usr/share/fontforge/pixmaps

TESTING: getShareDir:/usr/share/fontforge

TESTING: GResourceProgramDir:/usr/bin

trying default theme:/usr/share/fontforge/pixmaps/resources

fontforge 23:20 UTC 28-Sep-2015

libfontforge 20150928


Do you have any idea how to fix this? I'd love to try out your latest changes.

Thanks for a great font.

Cheers,

Tom

该提问来源于开源项目:belluzj/fantasque-sans

Thanks!





   



推荐阅读
author-avatar
akj
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有