* an issues with punk module @ 2010-08-05 14:52 views63 2010-08-06 12:19 ` Hans Hagen 0 siblings, 1 reply; 11+ messages in thread From: views63 @ 2010-08-05 14:52 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 259 bytes --] Hi all I found an issues with punk module in latest beta (MkIV) example: \usemodule[punk] \usetypescript[punk] \setupbodyfont[punk, 32pt] \starttext All animals are equal, but some animals are more equal than others. \stoptext -- Best regards, Huang Ze [-- Attachment #2: test.log --] [-- Type: application/octet-stream, Size: 1300 bytes --] LuaTeX warning: lua-loaded font [58] (demo) has no characters! ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-def.lua:562: attempt to index field 'parameters' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/font-def.lua:562: in function 'register' ...text/tex/texmf-context/tex/context/base/font-ctx.lua:394: in function 'command_2' <main ctx instance>:1: in main chunk. \lowleveldefinefont ...ies ", "\@@fontgoodies " )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \fi \csname \newfontidenti... \applyfontclassstrategies ...\fontsize \endcsname \else \expandafter \fontcl... \synchronizefont ...lse \applyfontclassstrategies \fi \autofontsizefalse \if... \rm ->\ifmmode \mathrm \else \normalrm \fi \doswitchstyle ...e \csname \@style@ #1\endcsname \edef \fontstyle {#1}\ifmm...... l.4 \setupbodyfont[punk,14pt] ? [-- 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] 11+ messages in thread
* Re: an issues with punk module 2010-08-05 14:52 an issues with punk module views63 @ 2010-08-06 12:19 ` Hans Hagen 2010-08-06 12:34 ` Khaled Hosny 0 siblings, 1 reply; 11+ messages in thread From: Hans Hagen @ 2010-08-06 12:19 UTC (permalink / raw) To: mailing list for ConTeXt users On 5-8-2010 4:52, views63 wrote: > \usemodule[punk] > \usetypescript[punk] > \setupbodyfont[punk, 32pt] > \starttext > All animals are equal, but some animals are more equal than others. > \stoptext probably related to the new mp lib -- ----------------------------------------------------------------- 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] 11+ messages in thread
* Re: an issues with punk module 2010-08-06 12:19 ` Hans Hagen @ 2010-08-06 12:34 ` Khaled Hosny 2010-08-06 15:16 ` Hans Hagen 0 siblings, 1 reply; 11+ messages in thread From: Khaled Hosny @ 2010-08-06 12:34 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, Aug 06, 2010 at 02:19:54PM +0200, Hans Hagen wrote: > On 5-8-2010 4:52, views63 wrote: > >\usemodule[punk] > >\usetypescript[punk] > >\setupbodyfont[punk, 32pt] > >\starttext > >All animals are equal, but some animals are more equal than others. > >\stoptext > > probably related to the new mp lib May be you can try the PunkNova font[1]. Hans, I now have a build font, can you adapt the typescript to use it. I made some experiments with slanted font but FontFprge does not autokern it very well, so I think artificial slanting in LuaTeX would be better. I think I'm going to upload it to CTAN. [1] http://github.com/khaledhosny/punk-otf Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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] 11+ messages in thread
* Re: an issues with punk module 2010-08-06 12:34 ` Khaled Hosny @ 2010-08-06 15:16 ` Hans Hagen 2010-08-06 15:23 ` Khaled Hosny 2010-08-06 21:39 ` Mojca Miklavec 0 siblings, 2 replies; 11+ messages in thread From: Hans Hagen @ 2010-08-06 15:16 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 1682 bytes --] On 6-8-2010 2:34, Khaled Hosny wrote: > On Fri, Aug 06, 2010 at 02:19:54PM +0200, Hans Hagen wrote: >> On 5-8-2010 4:52, views63 wrote: >>> \usemodule[punk] >>> \usetypescript[punk] >>> \setupbodyfont[punk, 32pt] >>> \starttext >>> All animals are equal, but some animals are more equal than others. >>> \stoptext >> >> probably related to the new mp lib it was something else .. fixed > May be you can try the PunkNova font[1]. which gives much smaller files and also does random > Hans, I now have a build font, can you adapt the typescript to use it. I > made some experiments with slanted font but FontFprge does not autokern > it very well, so I think artificial slanting in LuaTeX would be better. > > I think I'm going to upload it to CTAN. > > [1] http://github.com/khaledhosny/punk-otf % uses otf punk with artificial slanting \setupbodyfont[punknova,32pt] \startTEXpage[offset=1em] \tf All animals are equal, but some animals are more equal than others.\blank \bf All animals are equal, but some animals are more equal than others.\blank \sl All animals are equal, but some animals are more equal than others.\blank \bs All animals are equal, but some animals are more equal than others.\blank \stopTEXpage I adapted the typescripts. 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 ----------------------------------------------------------------- [-- Attachment #2: punk-004.pdf --] [-- Type: application/pdf, Size: 24767 bytes --] [-- 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] 11+ messages in thread
* Re: an issues with punk module 2010-08-06 15:16 ` Hans Hagen @ 2010-08-06 15:23 ` Khaled Hosny 2010-08-06 15:33 ` Hans Hagen 2010-08-06 21:39 ` Mojca Miklavec 1 sibling, 1 reply; 11+ messages in thread From: Khaled Hosny @ 2010-08-06 15:23 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users On Fri, Aug 06, 2010 at 05:16:18PM +0200, Hans Hagen wrote: > On 6-8-2010 2:34, Khaled Hosny wrote: > >On Fri, Aug 06, 2010 at 02:19:54PM +0200, Hans Hagen wrote: > >>On 5-8-2010 4:52, views63 wrote: > >>>\usemodule[punk] > >>>\usetypescript[punk] > >>>\setupbodyfont[punk, 32pt] > >>>\starttext > >>>All animals are equal, but some animals are more equal than others. > >>>\stoptext > >> > >>probably related to the new mp lib > > it was something else .. fixed > > >May be you can try the PunkNova font[1]. > > which gives much smaller files and also does random > > >Hans, I now have a build font, can you adapt the typescript to use it. I > >made some experiments with slanted font but FontFprge does not autokern > >it very well, so I think artificial slanting in LuaTeX would be better. > > > >I think I'm going to upload it to CTAN. > > > >[1] http://github.com/khaledhosny/punk-otf > > % uses otf punk with artificial slanting > > \setupbodyfont[punknova,32pt] > > \startTEXpage[offset=1em] > \tf All animals are equal, but some animals are more equal than > others.\blank > \bf All animals are equal, but some animals are more equal than > others.\blank > \sl All animals are equal, but some animals are more equal than > others.\blank > \bs All animals are equal, but some animals are more equal than > others.\blank > \stopTEXpage > > I adapted the typescripts. Just in case you missed it, I changed file names slightly yo be consistent with my other fonts, so it is now punknova-regular.otf and punknova-bold.otf. The fonts were uploaded to CTAN too. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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] 11+ messages in thread
* Re: an issues with punk module 2010-08-06 15:23 ` Khaled Hosny @ 2010-08-06 15:33 ` Hans Hagen 2010-08-06 16:32 ` Khaled Hosny 0 siblings, 1 reply; 11+ messages in thread From: Hans Hagen @ 2010-08-06 15:33 UTC (permalink / raw) To: Khaled Hosny; +Cc: mailing list for ConTeXt users On 6-8-2010 5:23, Khaled Hosny wrote: > Just in case you missed it, I changed file names slightly yo be > consistent with my other fonts, so it is now punknova-regular.otf and > punknova-bold.otf. The fonts were uploaded to CTAN too. Sure, and I uploaded a beta with new typescript definitions, also the slanted (btw, the dots should not be slanted but I guess that slanted is not used often.) Taco and I were wondering if there should be a stylistic alternate for the p and r as they often look somewhat weird. 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] 11+ messages in thread
* Re: an issues with punk module 2010-08-06 15:33 ` Hans Hagen @ 2010-08-06 16:32 ` Khaled Hosny 2010-08-06 17:10 ` Hans Hagen 0 siblings, 1 reply; 11+ messages in thread From: Khaled Hosny @ 2010-08-06 16:32 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users On Fri, Aug 06, 2010 at 05:33:27PM +0200, Hans Hagen wrote: > On 6-8-2010 5:23, Khaled Hosny wrote: > > >Just in case you missed it, I changed file names slightly yo be > >consistent with my other fonts, so it is now punknova-regular.otf and > >punknova-bold.otf. The fonts were uploaded to CTAN too. > > Sure, and I uploaded a beta with new typescript definitions, also > the slanted (btw, the dots should not be slanted but I guess that > slanted is not used often.) > > Taco and I were wondering if there should be a stylistic alternate > for the p and r as they often look somewhat weird. Well, you are the MP guys, if there is MP code, then I can try to get the glyphs into the font. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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] 11+ messages in thread
* Re: an issues with punk module 2010-08-06 16:32 ` Khaled Hosny @ 2010-08-06 17:10 ` Hans Hagen 0 siblings, 0 replies; 11+ messages in thread From: Hans Hagen @ 2010-08-06 17:10 UTC (permalink / raw) To: Khaled Hosny; +Cc: mailing list for ConTeXt users On 6-8-2010 6:32, Khaled Hosny wrote: > On Fri, Aug 06, 2010 at 05:33:27PM +0200, Hans Hagen wrote: >> On 6-8-2010 5:23, Khaled Hosny wrote: >> >>> Just in case you missed it, I changed file names slightly yo be >>> consistent with my other fonts, so it is now punknova-regular.otf and >>> punknova-bold.otf. The fonts were uploaded to CTAN too. >> >> Sure, and I uploaded a beta with new typescript definitions, also >> the slanted (btw, the dots should not be slanted but I guess that >> slanted is not used often.) >> >> Taco and I were wondering if there should be a stylistic alternate >> for the p and r as they often look somewhat weird. > > Well, you are the MP guys, if there is MP code, then I can try to get > the glyphs into the font. just before beginpunkchar: % punk_slant := 0.25 ; if known punk_slant : dot_pen_path := dot_pen_path slanted -punk_slant ; extra_endchar := extra_endchar & "currentpicture := currentpicture slanted punk_slant ;" ; fi ; ----------------------------------------------------------------- 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] 11+ messages in thread
* Re: an issues with punk module 2010-08-06 15:16 ` Hans Hagen 2010-08-06 15:23 ` Khaled Hosny @ 2010-08-06 21:39 ` Mojca Miklavec 2010-08-06 22:11 ` Hans Hagen 1 sibling, 1 reply; 11+ messages in thread From: Mojca Miklavec @ 2010-08-06 21:39 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, Aug 6, 2010 at 17:16, Hans Hagen wrote: > On 6-8-2010 2:34, Khaled Hosny wrote: > >> May be you can try the PunkNova font[1]. > > which gives much smaller files and also does random Are letters completely random (that is: "randomly generated on the fly") or do you use a fixed number of random glyphs? Thanks, Mojca ___________________________________________________________________________________ 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] 11+ messages in thread
* Re: an issues with punk module 2010-08-06 21:39 ` Mojca Miklavec @ 2010-08-06 22:11 ` Hans Hagen 2010-08-07 10:39 ` views63 0 siblings, 1 reply; 11+ messages in thread From: Hans Hagen @ 2010-08-06 22:11 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Mojca Miklavec On 6-8-2010 11:39, Mojca Miklavec wrote: > On Fri, Aug 6, 2010 at 17:16, Hans Hagen wrote: >> On 6-8-2010 2:34, Khaled Hosny wrote: >> >>> May be you can try the PunkNova font[1]. >> >> which gives much smaller files and also does random > > Are letters completely random (that is: "randomly generated on the > fly") or do you use a fixed number of random glyphs? something like 32 different lowercase 16 different uppercase 8 different other using the rand feature so indeed you get random characters 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] 11+ messages in thread
* Re: an issues with punk module 2010-08-06 22:11 ` Hans Hagen @ 2010-08-07 10:39 ` views63 0 siblings, 0 replies; 11+ messages in thread From: views63 @ 2010-08-07 10:39 UTC (permalink / raw) To: mailing list for ConTeXt users In latest beta the punk module was normal and the PunkNova font is working. Thanks to all. -- Best regards, Huang Ze ___________________________________________________________________________________ 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] 11+ messages in thread
end of thread, other threads:[~2010-08-07 10:39 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-08-05 14:52 an issues with punk module views63 2010-08-06 12:19 ` Hans Hagen 2010-08-06 12:34 ` Khaled Hosny 2010-08-06 15:16 ` Hans Hagen 2010-08-06 15:23 ` Khaled Hosny 2010-08-06 15:33 ` Hans Hagen 2010-08-06 16:32 ` Khaled Hosny 2010-08-06 17:10 ` Hans Hagen 2010-08-06 21:39 ` Mojca Miklavec 2010-08-06 22:11 ` Hans Hagen 2010-08-07 10:39 ` views63
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).