ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Ancient Typewriter Simulation
@ 2018-02-15 15:42 Henning Hraban Ramm
  2018-02-15 20:08 ` Rik Kabel
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm @ 2018-02-15 15:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Ahoi,
I was just pointed to this LaTeX package:
https://github.com/davidcarlisle/dpctex/tree/master/typewriter

Origin/reasoning:
https://tex.stackexchange.com/questions/344214/use-latex-to-simulate-old-typewriter-written-texts

I guess it would be fun to have in ConTeXt - might fit ASCII math ;D


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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] 4+ messages in thread

* Re: Ancient Typewriter Simulation
  2018-02-15 15:42 Ancient Typewriter Simulation Henning Hraban Ramm
@ 2018-02-15 20:08 ` Rik Kabel
  2018-02-16  7:59   ` Henning Hraban Ramm
  2018-02-16 12:40   ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Rik Kabel @ 2018-02-15 20:08 UTC (permalink / raw)
  To: ntg-context

On 2018-02-15 10:42, Henning Hraban Ramm wrote:
> Ahoi,
> I was just pointed to this LaTeX package:
> https://github.com/davidcarlisle/dpctex/tree/master/typewriter
>
> Origin/reasoning:
> https://tex.stackexchange.com/questions/344214/use-latex-to-simulate-old-typewriter-written-texts
>
> I guess it would be fun to have in ConTeXt - might fit ASCII math ;D
>
>
> Greetlings, Hraban
> ---
> http://www.fiee.net
> http://wiki.contextgarden.net
> GPG Key ID 1C9B22FD
>
> ___________________________________________________________________________________
While some of us might object to calling this ancient (_we_ aren't 
ancient, we are simply experienced), it does look like it might be fun.

Serendipitously, yesterday a friend pointed me to another retro font 
site: https://int10h.org/oldschool-pc-fonts/fontlist/. These are 
available in ttf.

-- 
Rik
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Ancient Typewriter Simulation
  2018-02-15 20:08 ` Rik Kabel
@ 2018-02-16  7:59   ` Henning Hraban Ramm
  2018-02-16 12:40   ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2018-02-16  7:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2018-02-15 um 21:08 schrieb Rik Kabel <context@rik.users.panix.com>:

> On 2018-02-15 10:42, Henning Hraban Ramm wrote:
>> Ahoi,
>> I was just pointed to this LaTeX package:
>> https://github.com/davidcarlisle/dpctex/tree/master/typewriter
>> 
>> Origin/reasoning:
>> https://tex.stackexchange.com/questions/344214/use-latex-to-simulate-old-typewriter-written-texts
>> 
>> I guess it would be fun to have in ConTeXt - might fit ASCII math ;D
>> 
> While some of us might object to calling this ancient (_we_ aren't ancient, we are simply experienced), it does look like it might be fun.
> 
> Serendipitously, yesterday a friend pointed me to another retro font site: https://int10h.org/oldschool-pc-fonts/fontlist/. These are available in ttf.

Of course there are a lot of "experienced" typewriter fonts, a few might even be good ;)

But the fun of the package is the added irregularity (while it still misses the typical super-bold dots).


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD


___________________________________________________________________________________
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] 4+ messages in thread

* Re: Ancient Typewriter Simulation
  2018-02-15 20:08 ` Rik Kabel
  2018-02-16  7:59   ` Henning Hraban Ramm
@ 2018-02-16 12:40   ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2018-02-16 12:40 UTC (permalink / raw)
  To: ntg-context

On 2/15/2018 9:08 PM, Rik Kabel wrote:
> On 2018-02-15 10:42, Henning Hraban Ramm wrote:
>> Ahoi,
>> I was just pointed to this LaTeX package:
>> https://github.com/davidcarlisle/dpctex/tree/master/typewriter
>>
>> Origin/reasoning:
>> https://tex.stackexchange.com/questions/344214/use-latex-to-simulate-old-typewriter-written-texts 

hm, a real font mimmicking it is probably better because the shapes 
themslves need to change (actually this is doable in luatex but i have 
no time for that now ... also, i don't expect this kind of hackery / 
show-off to be used)

>> I guess it would be fun to have in ConTeXt - might fit ASCII math ;D

the last decade quite some examples have been made / posted / published 
that do tricks with fonts ... i bet no one really uses them

>> Greetlings, Hraban
>> ---
>> http://www.fiee.net
>> http://wiki.contextgarden.net
>> GPG Key ID 1C9B22FD
>>
>> ___________________________________________________________________________________ 
>>
> While some of us might object to calling this ancient (_we_ aren't 
> ancient, we are simply experienced), it does look like it might be fun.

sure, nice for the ctx meeting (i can just grab and adapt code that is 
already around on my disk .. maybe it's about time for some cleanup of 
font experiments . i remember some nice experiments by hartmut in the 
early days of luatex)

> Serendipitously, yesterday a friend pointed me to another retro font 
> site: https://int10h.org/oldschool-pc-fonts/fontlist/. These are 
> available in ttf.
i'll add a luatex-fonts-demo-tt to the distribution which can be used 
like this:

\starttext

\raggedright

\definefontfeature[badtypewritera][ttgrayness=.5]
\definefontfeature[badtypewriterb][ttshift=.5]
\definefontfeature[badtypewriterc][ttthickness=2]
\definefontfeature[badtypewriterd][ttgrayness=.5,ttshift=.5,ttthickness=2,ttfont={dejavusansmono}]
\definefontfeature[badtypewritere][ttgrayness=.5,ttthickness=2,ttstep=2,ttmax=1.5]

\definefont[MyFontA][file:tt.lua*badtypewritera]
\definefont[MyFontB][file:tt.lua*badtypewriterb]
\definefont[MyFontC][file:tt.lua*badtypewriterc]
\definefont[MyFontD][file:tt.lua*badtypewriterd @ 10pt]
\definefont[MyFontE][file:tt.lua*badtypewritere @ 10pt]

\MyFontA \input tufte \blank {\righttoleft  لَيْسَ لَدَيَّ أَيُّ 
فِكْرَةٍ عَمَّا يَعْنِيهِ هٰذَا.} \page
\MyFontB \input tufte \blank {\righttoleft  لَيْسَ لَدَيَّ أَيُّ 
فِكْرَةٍ عَمَّا يَعْنِيهِ هٰذَا.} \page
\MyFontC \input tufte \blank {\righttoleft  لَيْسَ لَدَيَّ أَيُّ 
فِكْرَةٍ عَمَّا يَعْنِيهِ هٰذَا.} \page
\MyFontD \input tufte \blank {\righttoleft  لَيْسَ لَدَيَّ أَيُّ 
فِكْرَةٍ عَمَّا يَعْنِيهِ هٰذَا.} \page
\MyFontE \input tufte \blank {\righttoleft  لَيْسَ لَدَيَّ أَيُّ 
فِكْرَةٍ عَمَّا يَعْنِيهِ هٰذَا.} \page

\stoptext

fwiw, the current luatex vf interface is stepwise made a bit better as 
mixing pdf code into shapes is kind of tricky wrrt the backend character 
stream flushing (so it's fragile and has limitations) .. i occasionally 
look into it

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-02-16 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-15 15:42 Ancient Typewriter Simulation Henning Hraban Ramm
2018-02-15 20:08 ` Rik Kabel
2018-02-16  7:59   ` Henning Hraban Ramm
2018-02-16 12:40   ` 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).