From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82627 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: Faux font Date: Wed, 22 May 2013 19:17:08 +0200 Message-ID: References: <20130522101319.0d890157@localb.wexfordpress.net> <6D90E11E-CED6-44BA-B5C6-CE2042610A56@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1369243076 5438 80.91.229.3 (22 May 2013 17:17:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 May 2013 17:17:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 22 19:17:57 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UfCfl-00083C-1w for gctc-ntg-context-518@m.gmane.org; Wed, 22 May 2013 19:17:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C1FEA101F1; Wed, 22 May 2013 19:17:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OnsdW3i0sfxN; Wed, 22 May 2013 19:17:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E15B5101E7; Wed, 22 May 2013 19:17:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02E89101E7 for ; Wed, 22 May 2013 19:17:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xXoIGq9vskvb for ; Wed, 22 May 2013 19:17:49 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 13245101E4 for ; Wed, 22 May 2013 19:17:39 +0200 (CEST) Original-Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r4MHHcM5023806 for ; Wed, 22 May 2013 19:17:38 +0200 Original-Received: by mail-ee0-f43.google.com with SMTP id d41so1340900eek.16 for ; Wed, 22 May 2013 10:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=sNdgWugCVXltRUMuShLF0QtitHIAF1lT40WlIO8ZFf4=; b=RlRwYcr+hxQK5VUdSQRQzr2EtuuCxG3C8swHUn9i23yb0o+fObjyxszhbhtUj7sm1+ C7fJFLqpbrVLLysLk9cf0HuKe4xgVafERp+LoTBRobFby2sgdlMjk7eKtF0pBuoSHTee e9clznrGURrJCSXvShx0Riu/HULmcLiljgM80sqAr6JOzdtKnqg+syTY3rW4KGNnJGkg jGlfctkn+QKRQooPTZxI4iCv8qXvLBo9k/TvFDmrxErNzEhCWZOT+qjkTr23kenGvF7O NlXlWksrwg076u5KLvEtiUakd4nAPqZETnhdfcVgW1yDf3gZGn/4FrjBQ+R/g0NfLr7F Wt1A== X-Received: by 10.14.179.68 with SMTP id g44mr21358160eem.18.1369243058172; Wed, 22 May 2013 10:17:38 -0700 (PDT) Original-Received: by 10.14.6.68 with HTTP; Wed, 22 May 2013 10:17:08 -0700 (PDT) In-Reply-To: <6D90E11E-CED6-44BA-B5C6-CE2042610A56@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.43; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJD5hCXp - b5ef707b27ac - 20130522 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82627 Archived-At: Hi John, John Culleton wrote: >> In some Context manuals (can't remember which ones) there is a faux font >> that just consists of little rectangles of two different sizes. What is >> the name of that font? Is it included in e.g. TeXLive? Wolfgang wrote: > Do you mean \fakeword? Link to the This Way that introduces \fakeword and friends: http://www.pragma-ade.com/general/magazines/mag-0007.pdf (I am personally rather fond of the \simplethesis command. (This command produces a lot of output, so it may take a bit longer than you expect --- just like a real thesis.)) Or perhaps you mean the black boxes in section 5 of the reference manual's typography chapter [1]? Those are made by replacing every letter with a black rule of equal height, depths, and width. I dug op the code [2]; relevant bit is below. [1] http://context.aanhet.net/svn/contextman/context-reference/en/co-typography.pdf [2] http://context.aanhet.net/svn/contextman/context-reference/en/co-typography.tex NB: I also have some recollection of dummy text composed of hollow rectangles rather than solid black ones, but like you I cannot remember where I saw that. Maybe the document also showed kerns, in pretty colors? I can't remember. Cheers, Sietse % Converting every letter into a rectangle. \def\somecharacter#1% {\setbox0=\hbox{#1}% \blackrule[width=\wd0,height=\ht0,depth=\dp0]} \def\someline% {\noindent \processtokens\somecharacter\somecharacter\relax\space {The height and depth of lines differs.}} \starttext \someline \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________