From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73653 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Not wanted hidden spaces when you compress fonts Date: Fri, 6 Jan 2012 12:46:39 +0100 Message-ID: References: <4F06D322.3090808@gmx.de> <20120106112310.GA27824@eureca.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325850416 32548 80.91.229.12 (6 Jan 2012 11:46:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Jan 2012 11:46:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 06 12:46:52 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj8G4-0004cF-5z for gctc-ntg-context-518@m.gmane.org; Fri, 06 Jan 2012 12:46:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 65471CB1DC; Fri, 6 Jan 2012 12:46:51 +0100 (CET) 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 yH6U3MJY1AyV; Fri, 6 Jan 2012 12:46:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8F8B2CB1D6; Fri, 6 Jan 2012 12:46:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4A474CB1D6 for ; Fri, 6 Jan 2012 12:46:47 +0100 (CET) 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 G+-6lF9uNmmE for ; Fri, 6 Jan 2012 12:46:45 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 29E26CB1D3 for ; Fri, 6 Jan 2012 12:46:45 +0100 (CET) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q06BkijP026050 for ; Fri, 6 Jan 2012 12:46:44 +0100 Original-Received: by eabm6 with SMTP id m6so1288797eab.14 for ; Fri, 06 Jan 2012 03:46:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=thTU2qHzPC4XyyZtLJL231UUMmsc/A3e6QeN8Ym2hKY=; b=BhkGnR9OmtnAF+5oCJIFvd/sHvti5yYEEVWtTJ4lpSTWlCQy0iSv0oqogmMOvzUTu8 DnQdTJx3L9xVkRo4BEROZgyFslkQgDUPd2Exi56zCMcDQUWVUGsoXFrH4D2IkkAzXFEY 75UE72gyAj75UyvVAUD13UWDXB0Vs5yDqg7GM= Original-Received: by 10.213.106.7 with SMTP id v7mr1151236ebo.50.1325850404055; Fri, 06 Jan 2012 03:46:44 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFC01D.dip.t-dialin.net. [87.175.192.29]) by mx.google.com with ESMTPS id 19sm70573165eew.7.2012.01.06.03.46.41 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Jan 2012 03:46:43 -0800 (PST) In-Reply-To: <20120106112310.GA27824@eureca.de> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; 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: 0rGibKIOu - 49d9606c545d - 20120106 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:73653 Archived-At: Am 06.01.2012 um 12:23 schrieb Susan Dittmar: > Dear Jan, > >> when I turn off the compression [extend=0.8] -> [extend=1] >> the problems are gone :-) ... the compression unfourtunately >> also :-( >> What do I have to configure to get the compression without >> spaces? :-) > > I guess you will need a new font, or a new version of the same font with > compression. I am sure there are tools out there that can do the > compression of a font. > > As far as I understand, TeX itself knows nothing about the glyphs. They are > just some boxes for the TeX engine. It does not handle the glyphs itself -- > TeX just places them. So the only way TeX has to compress fonts is to push > the glyphs closer together -- thus introducing these 'spaces' (in fact, > they are negative spaces, places where TeX interrupts words to push the > glyphs closer together). > > In very special cases you might be able to use postscript's (or pdf's) > transformation engine to archieve condensed fonts. I once used that by > creating a minipage with 'normal' font within a picture environment that > itself then did the transformation. But I guess that's not what you really > are after. As you can in the example below the font is stretched to the given value but the problem when you copy the text can be in the algorithm Adobe Reader use to determine spaces in the text. \starttext \define[1]\ExtendFont {\definefontfeature[condensed][default][extend=#1] \definedfont[name:allerlight*condensed]The quick brown fox jumps over the lazy dog.\endgraf} \processcommalist[0.4,0.6,0.8,1.0,1.2,1.4]\ExtendFont \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________