Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否文本的约定 颜色 字体? #3

Open
albertyou2 opened this issue Oct 31, 2017 · 1 comment
Open

能否文本的约定 颜色 字体? #3

albertyou2 opened this issue Oct 31, 2017 · 1 comment

Comments

@albertyou2
Copy link

@purplebamboo
很棒库,可以用!
但能否约定文本的 颜色 和 字体?我发现目前 生成的html 比实际的 psd就是在位置,颜色,字体上有差距.谢谢

原图
image

渲染后de的结果
image

@yineon
Copy link

yineon commented Sep 10, 2018

怎么安装成功的 我的报错了
d:\360se\ruby\rubygems-2.7.7>gem install psd2html
Fetching: hashie-3.6.0.gem (100%)
Successfully installed hashie-3.6.0
Fetching: psd-enginedata-1.1.1.gem (100%)
Successfully installed psd-enginedata-1.1.1
Fetching: chunky_png-1.3.10.gem (100%)
Successfully installed chunky_png-1.3.10
Fetching: nokogiri-1.5.11.gem (100%)
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing psd2html:
ERROR: Failed to build gem native extension.

current directory: D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/nokogiri-1.5.11/ext/nokogiri

D:/Ruby25-x64/bin/ruby.exe -r ./siteconf20180910-22676-8w5mel.rb extconf.rb
ϵͳ�Ҳ���ָ����·����
checking for libxml/parser.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants