From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72901 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Word-wrap/hyphenation with very large font size not working consistently Date: Sat, 3 Dec 2011 16:43:31 +0100 Message-ID: <2E995FF5-E2B3-49E4-AD2D-0EF50F5C89BD@googlemail.com> References: <4EDA40B9.1060706@waroc.com> 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 1322927029 10751 80.91.229.12 (3 Dec 2011 15:43:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Dec 2011 15:43:49 +0000 (UTC) To: pavneet_arora@waroc.com, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 03 16:43:45 2011 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 1RWrke-0006xk-Cb for gctc-ntg-context-518@m.gmane.org; Sat, 03 Dec 2011 16:43:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A9EDCCB134; Sat, 3 Dec 2011 16:43:43 +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 QVXwxf8-OZPa; Sat, 3 Dec 2011 16:43:40 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D5E28CB12C; Sat, 3 Dec 2011 16:43:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E0BFCB12C for ; Sat, 3 Dec 2011 16:43:38 +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 l8euItijTgbK for ; Sat, 3 Dec 2011 16:43:36 +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 19068CB12A for ; Sat, 3 Dec 2011 16:43:36 +0100 (CET) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB3FhZBw012164 for ; Sat, 3 Dec 2011 16:43:35 +0100 Original-Received: by wgbds13 with SMTP id ds13so2843750wgb.2 for ; Sat, 03 Dec 2011 07:43:35 -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=z03utz8MsQx7lkYSdQSBali7ouP/3SX+tQR6p5LcTsw=; b=iixpVn/11eLqDRXRMHjle4SnMgk4rCoH6wsjFn04FEEUSskUMnCCRG644cqpaHZl7w SOefs7mXUxNHEkqRlz8wBDWS6xlwQ6tklH6I/uBmSiKwI2aP0rRtWwCMnJ0Vr1lAytzC cPmDXCFXpuoVIydiOO2M0mWoWuvzc6pQ5i6WU= Original-Received: by 10.216.56.1 with SMTP id l1mr859530wec.15.1322927015103; Sat, 03 Dec 2011 07:43:35 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFB86D.dip.t-dialin.net. [87.175.184.109]) by mx.google.com with ESMTPS id fw16sm16731372wbb.13.2011.12.03.07.43.32 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Dec 2011 07:43:34 -0800 (PST) In-Reply-To: <4EDA40B9.1060706@waroc.com> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 0rG4DHz1j - 56f63a90f09b - 20111203 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:72901 Archived-At: Am 03.12.2011 um 16:31 schrieb Pavneet Arora: > I am trying to typeset some signs for a construction site. I enclose a (somewhat contrived) for consideration. > > What I am having difficulty with is to get word wrap and interline spacing to work consistently. I am using \framed, but if there is a better way please let me know. The trouble I am having is getting lines to break consistently. Sometimes they do, but as in this case the second word `through' continues beyond the frame width. You may also try to substitute the text ``Enter this way today'', another contrived example to see the effect. The symbol font that I am using is Symbol-Signs from: > > http://www.fontsquirrel.com/fonts/Symbol-Signs > > but I shouldn't think that is pertinent to the problem. > > Any guidance on what is the issue here? Or if there is a better way to go about doing this type of signage. > > I am also interested in learning how to do vertical centering of blocks of text, i.e., in a formal letter or in this case of setting text for signs. I have read and tried to understand Wolfgang's response to Jaroslav's earlier enquiry: > > http://archive.contextgarden.net/message/20100702.112805.07aa71e2.en.html > > but I really don't understand it and how to make it work for my applications. Is there a simple template---say for a block of text---that someone might be able to offer for the ConTeXt challenged? \setuppapersize[legal,landscape] \setuplayout [header=0in, footer=0in, topspace=0.75in, bottomspace=0.75in, backspace=1in, width=12in] \setuppagenumbering [location=] \usemodule[simplefonts] \setmainfont[TeX Gyre Schola] %\setupinterlinespace[line=1.2\bodyfontsize] \setupinterlinespace[line=2.2ex] \starttext \dontleavehmode \framed [width=7in,align={flushright,nothyphenated,broad},frame=on] {\definedfont[Serif at 128pt]\setupinterlinespace Enter through here for parking\par}% \framed [width=5in,frame=off] % {\definedfont[name:symbolsigns at 500pt]K} {\definedfont[Sans at 500pt]K} \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 ___________________________________________________________________________________