ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: Ulrike Fischer <news3@nililand.de>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Using the source han sans fonts fails
Date: Wed, 19 Sep 2018 11:21:53 +0200	[thread overview]
Message-ID: <CAG5iGsCZw4GxoiC-Thdhoj+=vemdzRpnC6ThN9r4wN5Oas7hZQ@mail.gmail.com> (raw)
In-Reply-To: <1bcy0n403u4yx$.dlg@nililand.de>


[-- Attachment #1.1: Type: text/plain, Size: 2534 bytes --]

On Wed, Sep 19, 2018 at 11:18 AM Ulrike Fischer <news3@nililand.de> wrote:

> Am Wed, 19 Sep 2018 10:54:08 +0200 schrieb Hans Hagen:
>
> > On 9/19/2018 10:24 AM, Ulrike Fischer wrote:
> >>
> >> Because of a question on tex.sx I tried to use the source han sans
> >> fonts. I installed (in windows 10) the fonts from this zip-file:
> >>
> >>
> https://github.com/adobe-fonts/source-han-sans/blob/release/OTF/SourceHanSansJ.zip
> >>
> >> Trying to use them with latex/luaotfload failed with a memory
> >> exhausted error while trying to write the lua-file. In context
> >>
> >> \starttext
> >> \font\test={name:sourcehansans}
> >> \test abc
> >> \stoptext
> >>
> >> gave the error:
> >>
> >> fonts           > otf loading > loading
> >> 'c:/windows/fonts/SourceHanSans-Regular.otf', hash
> >> 'sourcehansans-regular'
> >> otf reader      > loading of table 'vorg' skipped
> >> otf reader      > invalid index in single format 1: 65353 -> 67212
> >> (max 65535)
> >> otf reader      > rule 1 in gsub lookup 's_s_5' has empty lookups
> >> fonts           > otf loading > loading failed due to read error
> >> fonts           > defining > forced type 'otf' of
> >> 'c:/windows/fonts/SourceHanSans-Regular' not found
> >> fonts           > defining > font with asked name
> >> 'c:/windows/fonts/SourceHanSans-Regular' is not found using lookup
> >> 'name'
> >> fonts           > defining > unknown font
> >> 'c:/windows/fonts/SourceHanSans-Regular', loading aborted
> >>
> >>
> >> xelatex had no problems to use the font.
> >>
> >> Is this an error in the font or in the fontloader?
> > it works ok here with luatex
> >
> > but ... do you use luajittex?
>
> No (neither with lualatex).
>
> The context log says at the end:
>
> mkiv lua stats  > used platform: mswin, type: windows, binary
> subtree: texmf-mswin
> mkiv lua stats  > used engine: luatex version 1.09 with
> functionality level 6930, banner: this is luatex, version 1.09.0
> (tex live 2018/w32tex)
> mkiv lua stats  > control sequences: 45351 of 65536 + 100000
> mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 1519
> MB (ctx: 1460 MB), hash type: lua, hash chars: min(32,40), symbol
> mask: utf (τεχ)
> mkiv lua stats  > runtime: 39.711 seconds
>
> The fonts *are* large, and my computer is quite old, so it could be
> a hardware problem, but I'm wondering a bit about the message
>
> > otf reader      > invalid index in single format 1: 65353 -> 67212
>
> hm
checking now

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 3577 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2018-09-19  9:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-19  8:24 Ulrike Fischer
2018-09-19  8:54 ` Hans Hagen
2018-09-19  9:17   ` Ulrike Fischer
2018-09-19  9:21     ` luigi scarso [this message]
2018-09-19  9:36       ` Taco Hoekwater
2018-09-19 10:15         ` Ulrike Fischer
2018-09-19 10:20           ` luigi scarso
2018-09-19 10:55             ` Taco Hoekwater
2018-09-19 11:22           ` Hans Hagen
2018-09-19 11:50             ` Ulrike Fischer
2018-09-19 15:46               ` Ulrike Fischer
2018-09-21  7:01                 ` Mojca Miklavec
2018-09-21  9:17                   ` Hans Hagen
2018-09-19  9:38     ` Hans Hagen
2018-09-19  9:50       ` luigi scarso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG5iGsCZw4GxoiC-Thdhoj+=vemdzRpnC6ThN9r4wN5Oas7hZQ@mail.gmail.com' \
    --to=luigi.scarso@gmail.com \
    --cc=news3@nililand.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).