ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Lucida font?
@ 2011-03-26 21:34 Hans van der Meer
  2011-03-28  9:15 ` Hans van der Meer
  0 siblings, 1 reply; 3+ messages in thread
From: Hans van der Meer @ 2011-03-26 21:34 UTC (permalink / raw)
  To: NTG ConTeXt

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

From the book "Fonts in ConTeXt" I got the impression that the Lucida font is working and decided to give it a try. I have the afm and type1 files in my texmf-local/fonts directory. However, this simple program:
  \setupbodyfont[lucida]
  \starttext
  Hello world!
  \stoptext
takes forever. On my MacPro (mid 2010) luatex is utilizing a processor thread for 100%. I guess processing the fonts take some time. But after more than 12 minutes cpu time without any sign of process I do not believe all is well. The log file is tacked to this post. Is there someone who knows what is happening and where the culprit could be hiding?
Thanks in advance.

Hans van der Meer


[-- Attachment #2: lucidatest.log --]
[-- Type: application/octet-stream, Size: 16384 bytes --]

(lucidatest.tex

ConTeXt  ver: 2011.03.26 12:41 MKIV  fmt: 2011.3.26  int: english/english

system          > cont-new.mkiv loaded
(/Users/hans/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > lucidatest.top loaded
system          > options > begin of optionfile
system          > options >
system          > options > % runtime options files (command line driven)
system          > options > \unprotect
system          > options > % feedback and basic job control
system          > options > % handy for special styles
system          > options > \startluacode
system          > options > document = document or { }
system          > options > document.arguments={
system          > options > }
system          > options > document.files={
system          > options >  "lucidatest.tex",
system          > options > }
system          > options > \stopluacode
system          > options > % process info
system          > options > \setupsystem[inputfile=lucidatest.tex]
system          > options > \setupsystem[\c!n=1,\c!m=1]
system          > options > % modes
system          > options > % options (not that important)
system          > options > \startsetups *runtime:options
system          > options > \stopsetups
system          > options > % styles and modules
system          > options > \startsetups *runtime:modules
system          > options > \stopsetups
system          > options > % done
system          > options > \protect \endinput
system          > options >
system          > options > end of optionfile
(lucidatest.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
(/Users/hans/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/Users/hans/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/Users/hans/Library/texmf/fonts/map/dvips/lucida.map}{/Users/hans/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/hans/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/Users/hans/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > names > warnings are disabled (tracker 'fonts.warnings')
fonts           > names > identifying tree font files with suffix otf
fonts           > names > scanning /Users/hans/Library/texmf for otf files
fonts           > names > 892 entries found, 0 otf files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-project for otf files
fonts           > names > 6 entries found, 0 otf files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-fonts for otf files
fonts           > names > 6 entries found, 0 otf files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-local for otf files
fonts           > names > 892 entries found, 0 otf files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-context for otf files
fonts           > names > 1934 entries found, 1 otf files checked, 1 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-osx-64 for otf files
fonts           > names > 71 entries found, 0 otf files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf for otf files
fonts           > names > 3345 entries found, 257 otf files checked, 257 okay
fonts           > names > identifying tree font files with suffix OTF
fonts           > names > scanning /Users/hans/Library/texmf for OTF files
fonts           > names > 892 entries found, 0 OTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-project for OTF files
fonts           > names > 6 entries found, 0 OTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-fonts for OTF files
fonts           > names > 6 entries found, 0 OTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-local for OTF files
fonts           > names > 892 entries found, 0 OTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-context for OTF files
fonts           > names > 1934 entries found, 0 OTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-osx-64 for OTF files
fonts           > names > 71 entries found, 0 OTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf for OTF files
fonts           > names > 3345 entries found, 0 OTF files checked, 0 okay
fonts           > names > 258 tree files identified, 56 skipped, 30 duplicates, 202 hash entries added, runtime 4.616 seconds
fonts           > names > identifying tree font files with suffix ttf
fonts           > names > scanning /Users/hans/Library/texmf for ttf files
fonts           > names > 892 entries found, 0 ttf files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-project for ttf files
fonts           > names > 6 entries found, 0 ttf files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-fonts for ttf files
fonts           > names > 6 entries found, 0 ttf files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-local for ttf files
fonts           > names > 892 entries found, 0 ttf files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-context for ttf files
fonts           > names > 1934 entries found, 1 ttf files checked, 1 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-osx-64 for ttf files
fonts           > names > 71 entries found, 0 ttf files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf for ttf files
fonts           > names > 3345 entries found, 54 ttf files checked, 54 okay
fonts           > names > identifying tree font files with suffix TTF
fonts           > names > scanning /Users/hans/Library/texmf for TTF files
fonts           > names > 892 entries found, 0 TTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-project for TTF files
fonts           > names > 6 entries found, 0 TTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-fonts for TTF files
fonts           > names > 6 entries found, 0 TTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-local for TTF files
fonts           > names > 892 entries found, 0 TTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-context for TTF files
fonts           > names > 1934 entries found, 0 TTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-osx-64 for TTF files
fonts           > names > 71 entries found, 0 TTF files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf for TTF files
fonts           > names > 3345 entries found, 0 TTF files checked, 0 okay
fonts           > names > 55 tree files identified, 27 skipped, 15 duplicates, 28 hash entries added, runtime 0.059 seconds
fonts           > names > identifying tree font files with suffix ttc
fonts           > names > scanning /Users/hans/Library/texmf for ttc files
fonts           > names > 892 entries found, 0 ttc files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-project for ttc files
fonts           > names > 6 entries found, 0 ttc files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-fonts for ttc files
fonts           > names > 6 entries found, 0 ttc files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-local for ttc files
fonts           > names > 892 entries found, 0 ttc files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-context for ttc files
fonts           > names > 1934 entries found, 0 ttc files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-osx-64 for ttc files
fonts           > names > 71 entries found, 0 ttc files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf for ttc files
fonts           > names > 3345 entries found, 0 ttc files checked, 0 okay
fonts           > names > identifying tree font files with suffix TTC
fonts           > names > scanning /Users/hans/Library/texmf for TTC files
fonts           > names > 892 entries found, 0 TTC files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-project for TTC files
fonts           > names > 6 entries found, 0 TTC files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-fonts for TTC files
fonts           > names > 6 entries found, 0 TTC files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-local for TTC files
fonts           > names > 892 entries found, 0 TTC files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-context for TTC files
fonts           > names > 1934 entries found, 0 TTC files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-osx-64 for TTC files
fonts           > names > 71 entries found, 0 TTC files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf for TTC files
fonts           > names > 3345 entries found, 0 TTC files checked, 0 okay
fonts           > names > 0 tree files identified, 0 skipped, 0 duplicates, 0 hash entries added, runtime 0.052 seconds
fonts           > names > identifying tree font files with suffix dfont
fonts           > names > scanning /Users/hans/Library/texmf for dfont files
fonts           > names > 892 entries found, 0 dfont files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-project for dfont files
fonts           > names > 6 entries found, 0 dfont files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-fonts for dfont files
fonts           > names > 6 entries found, 0 dfont files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-local for dfont files
fonts           > names > 892 entries found, 0 dfont files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-context for dfont files
fonts           > names > 1934 entries found, 0 dfont files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-osx-64 for dfont files
fonts           > names > 71 entries found, 0 dfont files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf for dfont files
fonts           > names > 3345 entries found, 0 dfont files checked, 0 okay
fonts           > names > identifying tree font files with suffix DFONT
fonts           > names > scanning /Users/hans/Library/texmf for DFONT files
fonts           > names > 892 entries found, 0 DFONT files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-project for DFONT files
fonts           > names > 6 entries found, 0 DFONT files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-fonts for DFONT files
fonts           > names > 6 entries found, 0 DFONT files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-local for DFONT files
fonts           > names > 892 entries found, 0 DFONT files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-context for DFONT files
fonts           > names > 1934 entries found, 0 DFONT files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-osx-64 for DFONT files
fonts           > names > 71 entries found, 0 DFONT files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf for DFONT files
fonts           > names > 3345 entries found, 0 DFONT files checked, 0 okay
fonts           > names > 0 tree files identified, 0 skipped, 0 duplicates, 0 hash entries added, runtime 0.052 seconds
fonts           > names > identifying tree font files with suffix afm
fonts           > names > scanning /Users/hans/Library/texmf for afm files
fonts           > names > 892 entries found, 52 afm files checked, 52 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-project for afm files
fonts           > names > 6 entries found, 0 afm files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-fonts for afm files
fonts           > names > 6 entries found, 0 afm files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-local for afm files
fonts           > names > 892 entries found, 52 afm files checked, 52 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-context for afm files
fonts           > names > 1934 entries found, 10 afm files checked, 10 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-osx-64 for afm files
fonts           > names > 71 entries found, 0 afm files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf for afm files
fonts           > names > 3345 entries found, 68 afm files checked, 68 okay
fonts           > names > identifying tree font files with suffix AFM
fonts           > names > scanning /Users/hans/Library/texmf for AFM files
fonts           > names > 892 entries found, 8 AFM files checked, 8 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-project for AFM files
fonts           > names > 6 entries found, 0 AFM files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-fonts for AFM files
fonts           > names > 6 entries found, 0 AFM files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-local for AFM files
fonts           > names > 892 entries found, 8 AFM files checked, 8 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-context for AFM files
fonts           > names > 1934 entries found, 0 AFM files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf-osx-64 for AFM files
fonts           > names > 71 entries found, 0 AFM files checked, 0 okay
fonts           > names > scanning /Users/hans/context/tex/texmf for AFM files
fonts           > names > 3345 entries found, 0 AFM files checked, 0 okay
fonts           > names > 198 tree files identified, 64 skipped, 61 duplicates, 134 hash entries added, runtime 0.147 seconds
fonts           > names > identifying system font files with suffix otf
fonts           > names > adding path from OSFONTDIR: /Users/hans/Library/Fonts
fonts           > names > adding path from OSFONTDIR: /Library/Fonts
fonts           > names > adding path from OSFONTDIR: /System/Library/Fonts
fonts           > names > globbing path /Users/hans/Library/Fonts/**.otf
fonts           > names > globbing path /Library/Fonts/**.otf
fonts           > names > globbing path /System/Library/Fonts/**.otf
fonts           > names > identifying system font files with suffix OTF
fonts           > names > globbing path /Users/hans/Library/Fonts/**.OTF
fonts           > names > globbing path /Library/Fonts/**.OTF
fonts           > names > globbing path /System/Library/Fonts/**.OTF
fonts           > names > 134 system files identified, 0 skipped, 0 duplicates, 134 hash entries added, runtime 9.900 seconds
fonts           > names > identifying system font files with suffix ttf
fonts           > names > globbing path /Users/hans/Library/Fonts/**.ttf
fonts           > names > globbing path /Library/Fonts/**.ttf
fonts           > names > globbing path /System/Library/Fonts/**.ttf
fonts           > names > identifying system font files with suffix TTF
fonts           > names > globbing path /Users/hans/Library/Fonts/**.TTF
fonts           > names > globbing path /Library/Fonts/**.TTF
fonts           > names > globbing path /System/Library/Fonts/**.TTF
fonts           > names > 81 system files identified, 0 skipped, 0 duplicates, 81 hash entries added, runtime 0.171 seconds
fonts           > names > identifying system font files with suffix ttc
fonts           > names > globbing path /Users/hans/Library/Fonts/**.ttc
fonts           > names > globbing path /Library/Fonts/**.ttc
fonts           > names > globbing path /System/Library/Fonts/**.ttc
fonts           > name

[-- Attachment #3: Type: text/plain, Size: 486 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Lucida font?
  2011-03-26 21:34 Lucida font? Hans van der Meer
@ 2011-03-28  9:15 ` Hans van der Meer
  2011-03-28 11:35   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Hans van der Meer @ 2011-03-28  9:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I may finally have found the cause of this problem!
My afm files are somewhat older and they turned out to have Macintosh line endings instead of Unix line endings.
I guess Taco Hoekwater can tell us how detrimental this is.

Hans van der Meer


On 26 mrt 2011, at 22:34, Hans van der Meer wrote:

> From the book "Fonts in ConTeXt" I got the impression that the Lucida font is working and decided to give it a try. I have the afm and type1 files in my texmf-local/fonts directory. However, this simple program:
>  \setupbodyfont[lucida]
>  \starttext
>  Hello world!
>  \stoptext
> takes forever. On my MacPro (mid 2010) luatex is utilizing a processor thread for 100%. I guess processing the fonts take some time. But after more than 12 minutes cpu time without any sign of process I do not believe all is well. The log file is tacked to this post. Is there someone who knows what is happening and where the culprit could be hiding?
> Thanks in advance.
> 
> Hans van der Meer
> 

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Lucida font?
  2011-03-28  9:15 ` Hans van der Meer
@ 2011-03-28 11:35   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2011-03-28 11:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 28-3-2011 11:15, Hans van der Meer wrote:
> I may finally have found the cause of this problem!
> My afm files are somewhat older and they turned out to have Macintosh line endings instead of Unix line endings.
> I guess Taco Hoekwater can tell us how detrimental this is.

you could try

local lineend = lpeg.patterns.newline

in font-afm.lua

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-03-28 11:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-26 21:34 Lucida font? Hans van der Meer
2011-03-28  9:15 ` Hans van der Meer
2011-03-28 11:35   ` Hans Hagen

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