gentium font doesn't work in latest current
Hi all, the current version doesn't work with the gentium font; it is displayed in a tiny size. Test file: \usetypescript[gentium] \starttext Hello \switchtobodyfont[gentium] World \stoptext I don't know if other fonts are affected as well; so far, I've only seen this with gentium. This used to work about two weeks ago. All best Thomas
Taco Hoekwater
Thomas A. Schmitz wrote:
Hi all,
the current version doesn't work with the gentium font; it is displayed in a tiny size.
Works fine here with current 2010.05.24 and latest beta. Perhaps you should clear the font cache.
Best wishes, Taco
Shoot, I tried everything (deleted the luatex cache, deleted another instance of the gentium font, made a new example to exclude caching in the pdf viewer, compiled luatex from trunk), but I still get the tiny font size with the example I posted above. This is on linux, with luatex version 0.61 and the latest beta. Could others please test the example above and report? Best Thomas
On Thu, May 27, 2010 at 12:19, Thomas A. Schmitz wrote:
Shoot, I tried everything (deleted the luatex cache, deleted another instance of the gentium font, made a new example to exclude caching in the pdf viewer, compiled luatex from trunk), but I still get the tiny font size with the example I posted above. This is on linux, with luatex version 0.61 and the latest beta. Could others please test the example above and report?
I get the same problem. Mojca Out of curiosity: did we ever submit the proper version of ttf to CTAN? We had a broken font version in repository for a while. It could be that it was just a time-bomb showing up the problem at some random point in time. But I didn't try to replace the font version.
On Thu, May 27, 2010 at 12:29 PM, Taco Hoekwater
Mojca Miklavec wrote:
point in time. But I didn't try to replace the font version.
Mine (correct output) is GenR102.ttf, 362664 bytes, md5sum 8f8fe5737f62cb2ad314ca8c317fc49b
# md5sum GenR102.TTF c968d72c4bfc649e2581a5d6699fd31f GenR102.TTF 309228 bytes , 2008-11-08 16:37 -- luigi
On Thu, May 27, 2010 at 12:29, Taco Hoekwater wrote:
Mojca Miklavec wrote:
point in time. But I didn't try to replace the font version.
Mine (correct output) is GenR102.ttf, 362664 bytes, md5sum 8f8fe5737f62cb2ad314ca8c317fc49b
Mine was (Thomas???):
md5 GenR102.TTF MD5 (GenR102.TTF) = c968d72c4bfc649e2581a5d6699fd31f
But replacing it with another version didn't help (yet) despite deleting the cache. Mojca
Mojca Miklavec wrote:
On Thu, May 27, 2010 at 12:29, Taco Hoekwater wrote:
Mojca Miklavec wrote:
point in time. But I didn't try to replace the font version. Mine (correct output) is GenR102.ttf, 362664 bytes, md5sum 8f8fe5737f62cb2ad314ca8c317fc49b
Mine was (Thomas???):
md5 GenR102.TTF MD5 (GenR102.TTF) = c968d72c4bfc649e2581a5d6699fd31f
Can someone email me broken one? I am deep into TL right now so I don't want to mess with the minimals.
On Thu, May 27, 2010 at 12:38, Taco Hoekwater wrote:
Can someone email me broken one? I am deep into TL right now so I don't want to mess with the minimals.
http://minimals.contextgarden.net/current/fonts/common/fonts/truetype/public... Mojca
Mojca Miklavec wrote:
On Thu, May 27, 2010 at 12:38, Taco Hoekwater wrote:
Can someone email me broken one? I am deep into TL right now so I don't want to mess with the minimals.
http://minimals.contextgarden.net/current/fonts/common/fonts/truetype/public...
Still OK for me. !load otf : loading: /home/taco/tmp/GenR102.ttf (hash: genr102) !load otf : font loaded okay !load otf : file size: 309228 !load otf : enhancing ... !load otf : saving in cache: /home/taco/tmp/GenR102.ttf Weird. This machine is 32-bit linux, btw.
On Thu, May 27, 2010 at 12:55 PM, Taco Hoekwater
Mojca Miklavec wrote:
On Thu, May 27, 2010 at 12:38, Taco Hoekwater wrote:
Can someone email me broken one? I am deep into TL right now so I don't want to mess with the minimals.
http://minimals.contextgarden.net/current/fonts/common/fonts/truetype/public...
Still OK for me.
!load otf : loading: /home/taco/tmp/GenR102.ttf (hash: genr102)
!load otf : font loaded okay
!load otf : file size: 309228 !load otf : enhancing ... !load otf : saving in cache: /home/taco/tmp/GenR102.ttf
Weird. This machine is 32-bit linux, btw.
Hm again ttf vs TTF ? (/opt/luatex/minimals-2010-05-26/tex/texmf/tex/context/third/gentium/type-gentium.tex) !fonts define : unable to detemine font format for '/opt/luatex/minimals-2010-05-26/tex/texmf/fonts/truetype/public/gentium/GenR102.TTF' !pages : flushing realpage 1, userpage 1, subpage 1 systems : end file test.tex at line 9 system : cont-err loaded (/opt/luatex/minimals-2010-05-26/tex/texmf-context/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) ) -- luigi
On Thu, May 27, 2010 at 1:00 PM, luigi scarso
On Thu, May 27, 2010 at 12:55 PM, Taco Hoekwater
wrote: Mojca Miklavec wrote:
On Thu, May 27, 2010 at 12:38, Taco Hoekwater wrote:
Can someone email me broken one? I am deep into TL right now so I don't want to mess with the minimals.
http://minimals.contextgarden.net/current/fonts/common/fonts/truetype/public...
Still OK for me.
!load otf : loading: /home/taco/tmp/GenR102.ttf (hash: genr102)
!load otf : font loaded okay
!load otf : file size: 309228 !load otf : enhancing ... !load otf : saving in cache: /home/taco/tmp/GenR102.ttf
Weird. This machine is 32-bit linux, btw.
Hm again ttf vs TTF ?
(/opt/luatex/minimals-2010-05-26/tex/texmf/tex/context/third/gentium/type-gentium.tex) !fonts define : unable to detemine font format for '/opt/luatex/minimals-2010-05-26/tex/texmf/fonts/truetype/public/gentium/GenR102.TTF' !pages : flushing realpage 1, userpage 1, subpage 1 systems : end file test.tex at line 9 system : cont-err loaded (/opt/luatex/minimals-2010-05-26/tex/texmf-context/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) )
bingo. Thomas can you try to rename *TTF in *ttf ? -- luigi
luigi scarso
Weird. This machine is 32-bit linux, btw.
Hm again ttf vs TTF ?
bingo. Thomas can you try to rename *TTF in *ttf ?
Yes, that solved it for me too! Taco, what can we do about that? AFAICS, unfortunately, the gentium fonts do come with the TTF extension. Should we rename them or trust that Hans will cook up a solution? Thanks for looking into this! Thomas
Thomas A. Schmitz wrote:
luigi scarso
writes: Weird. This machine is 32-bit linux, btw. Hm again ttf vs TTF ?
bingo. Thomas can you try to rename *TTF in *ttf ?
Yes, that solved it for me too! Taco, what can we do about that? AFAICS, unfortunately, the gentium fonts do come with the TTF extension. Should we rename them or trust that Hans will cook up a solution?
Should be fixed in the next beta (and I hotfixed the TL repo) Best wishes, Taco
Hi all, With the latest beta, the issue with the size of the gentium font is solved but till there is still an issue with the distance between "Hello" and "World" I tested this with the following example \usetypescript[gentium] \starttext Hello \switchtobodyfont[gentium] World \stoptext and ConTeXt version ConTeXt ver: 2010.05.27 13:47 MKIV fmt: 2010.5.27 int: english/english LuaTeX, Version beta-0.60.1-2010042810. Please see the attached PDF file. (Working on Mac OS X 10.6.3, gentium.ttf Version 1.02; 2005; OFL release). Best regards: OK On 27 mai 2010, at 13:47, Taco Hoekwater wrote:
Thomas A. Schmitz wrote:
luigi scarso
writes: Weird. This machine is 32-bit linux, btw. Hm again ttf vs TTF ?
bingo. Thomas can you try to rename *TTF in *ttf ?
Yes, that solved it for me too! Taco, what can we do about that? AFAICS, unfortunately, the gentium fonts do come with the TTF extension. Should we rename them or trust that Hans will cook up a solution?
Should be fixed in the next beta (and I hotfixed the TL repo)
Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Otared Kavian wrote:
Hi all,
With the latest beta, the issue with the size of the gentium font is solved but till there is still an issue with the distance between "Hello" and "World" I tested this with the following example
\usetypescript[gentium] \starttext Hello \switchtobodyfont[gentium] World
I saw that too. \switchtobodyfont is generating lots of spaces when it is called in horizontal mode. They come from the \definetypescriptprefix lines in the tex-gyre typescript (type-otf.mkiv): \definetypescriptprefix [f:pagella] [pagella] \definetypescriptprefix [f:palatino] [pagella] et cetera. Each lines adds two extra blanks: one is the space after the first command, the second is the newline after the second command. Best wishes, Taco
On 27-5-2010 3:36, Taco Hoekwater wrote:
Otared Kavian wrote:
Hi all,
With the latest beta, the issue with the size of the gentium font is solved but till there is still an issue with the distance between "Hello" and "World" I tested this with the following example
\usetypescript[gentium] \starttext Hello \switchtobodyfont[gentium] World
I saw that too. \switchtobodyfont is generating lots of spaces when it is called in horizontal mode. They come from the \definetypescriptprefix lines in the tex-gyre typescript (type-otf.mkiv):
\definetypescriptprefix [f:pagella] [pagella] \definetypescriptprefix [f:palatino] [pagella]
et cetera. Each lines adds two extra blanks: one is the space after the first command, the second is the newline after the second command.
we can try to ignore lines, but even then, it's better to do: \usetypescript[gentium] \setupbodyfont[gentium] \setupbodyfont[whatever] \starttext Hello {\switchtobodyfont[gentium] World ... } this is because \switchtobodyfont is doing a lot and is supposed to be used grouped, so performance wise it's better first to trigger it once 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 -----------------------------------------------------------------
On 27-5-2010 1:00, luigi scarso wrote:
Hm again ttf vs TTF ?
There has been some changes in the filename checking (was needed for usage in latex) and something might have got lost there. In retrospect i should never have changed anything in our code for that reason and definitely not around tl freeze time. I'll have a look at it. 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 -----------------------------------------------------------------
On Thu, May 27, 2010 at 12:19 PM, Thomas A. Schmitz
Taco Hoekwater
writes: Thomas A. Schmitz wrote:
Hi all,
the current version doesn't work with the gentium font; it is displayed in a tiny size.
Works fine here with current 2010.05.24 and latest beta. Perhaps you should clear the font cache.
Best wishes, Taco
Shoot, I tried everything (deleted the luatex cache, deleted another instance of the gentium font, made a new example to exclude caching in the pdf viewer, compiled luatex from trunk), but I still get the tiny font size with the example I posted above. This is on linux, with luatex version 0.61 and the latest beta. Could others please test the example above and report?
Same problem here on my linux box 32 bit # context --version MTXrun | main context file: /opt/luatex/minimals-2010-05-26/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2010.05.27 09:45 root@john:/opt/luatex/test-mkiv/thomas# luatex --version This is LuaTeX, Version beta-0.60.1-2010042821 -- luigi
participants (6)
-
Hans Hagen
-
luigi scarso
-
Mojca Miklavec
-
Otared Kavian
-
Taco Hoekwater
-
Thomas A. Schmitz