ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Using the source han sans fonts fails
@ 2018-09-19  8:24 Ulrike Fischer
  2018-09-19  8:54 ` Hans Hagen
  0 siblings, 1 reply; 15+ messages in thread
From: Ulrike Fischer @ 2018-09-19  8:24 UTC (permalink / raw)
  To: ntg-context


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?

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-09-21  9:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-19  8:24 Using the source han sans fonts fails Ulrike Fischer
2018-09-19  8:54 ` Hans Hagen
2018-09-19  9:17   ` Ulrike Fischer
2018-09-19  9:21     ` luigi scarso
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

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).