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

cd tests ; make fails due to missing files #17

Closed
na4zagin3 opened this issue Feb 10, 2018 · 2 comments
Closed

cd tests ; make fails due to missing files #17

na4zagin3 opened this issue Feb 10, 2018 · 2 comments

Comments

@na4zagin3
Copy link
Contributor

na4zagin3 commented Feb 10, 2018

Problem

Test files under test requires the following files which does not exist.

  • imported.pdf
  • naruse1.jpg

Furthermore, it requires several fonts which are not automatically installed. (It is related to #13)

  • "KozMin": KozMinPro-Regular.otf
  • "Hlv": HelveticaBlack.ttf
  • "ipaexm": ipaexm.ttf
  • "Osaka": Osaka.ttf
  • "Arno": ArnoPro-Regular.otf
  • "ArnoIt": ArnoPro-Italic.otf

Environment

  • macOS 10.13.2
  • OCaml 4.05.0 + OPAM 1.2.2
  • SATySFi commit bc30f33

Workaround

  • Create required PDF and JPEG files under test directory.
  • Manually copy required fonts into lib-satysfi/dist/fonts directory. I can copy other fonts and modify lib-satysfi/dist/hash/fonts.satysfi-hash to change the correspondence between internal font names and actual font paths.
@omasanori
Copy link
Contributor

Concerning fonts and their licensing:

  • Kozuka Mincho Pro, Helvetica, Anno Pro: non-free, available from distributors (some differences between OS-bundled ones and ones from font distributors might be there)
  • Osaka: non-free, bundled into macOS and predecessors

Examples of possible freely-distributable alternatives:

  • Kozuka Mincho Pro: Noto Serif CJK, as a Mincho font other than IPAex Mincho
  • Helvetica: TeX Gyre Heros, or other sans-serif fonts such as Liberation Sans, Roboto, Noto Sans, etc.
  • Anno Pro: EB Garamond, Junicode, TeX Gyre Bonum, TeX Gyre Pagella, etc., as an old-style serif font
  • Osaka: IPAex Gothic, M+, Noto Sans CJK, etc., as a Japanese sans-serif font

@na4zagin3
Copy link
Contributor Author

It's been fixed. Closing.

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