From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11590 invoked from network); 16 May 2023 07:54:29 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 16 May 2023 07:54:29 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DE8FE1C25E2; Tue, 16 May 2023 09:54:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AsVIrdAmOgw5; Tue, 16 May 2023 09:54:06 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CF9311C2C29; Tue, 16 May 2023 09:54:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5CDFF1C2C29 for ; Tue, 16 May 2023 09:54:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dfKTKMSzmTvy for ; Tue, 16 May 2023 09:54:02 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=213.125.118.53; helo=mail.rna.nl; envelope-from=gerben.wierda@rna.nl; receiver= Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8D7E81C25E2 for ; Tue, 16 May 2023 09:54:02 +0200 (CEST) Received: from smtpclient.apple (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by albus.rna.nl (Postfix) with ESMTPSA id ECC8317D7C966 for ; Tue, 16 May 2023 09:54:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1684223640; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aER+LmKdRSACe4OmqUsrN9FzLBdPZn10j1s0x82TIKE=; b=JMQpKaEZ5fSemx7Wf+Wqlrnwf4cwa76RoDb6L7ouApzIBIBErICB36OIM3wd2qJdOFaCJJ 6PlEPu7r1na/8dz0hV6E23Sm0ANOJOkdr4TNh/qYDkyJthjdURKwfcDf4quvBQv5mFkgDM ryp9NIAy5eU8FRSMBQWUWgsX2rdBSkSpct7mNQR4YPXM4IuCvpPqPmHkIWpzE14VtW8yCN 50i6DyaUFWPF8Z5qC35qHD5c9GOnj5NYAIqpT5U8sUxVe1B57bW4ykLLQ++8P0TN8Y+gYD pjWKcFAcICdbSTMY0yruLrANk8smPMgev3pDbxiguREB/NtetqsuOkK9lVp79w== Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Date: Tue, 16 May 2023 09:54:00 +0200 References: To: mailing list for ConTeXt users In-Reply-To: Message-Id: <0631850E-059F-4A5A-B244-2E7F6DC92EEC@rna.nl> X-Mailer: Apple Mail (2.3696.120.41.1.3) Subject: Re: [NTG-context] Flushright problems with Japanese X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Gerben Wierda via ntg-context Reply-To: mailing list for ConTeXt users Cc: Gerben Wierda Content-Type: multipart/mixed; boundary="===============1986581558253075357==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" --===============1986581558253075357== Content-Type: multipart/alternative; boundary="Apple-Mail=_DB938CE5-DD33-4FF1-A3F1-8B7FBF51A3CB" --Apple-Mail=_DB938CE5-DD33-4FF1-A3F1-8B7FBF51A3CB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 That does not make a difference. Output of both lines \framed[width=3D\textwidth,frame=3Doff,align=3Dflushright]{=E4=BD=9C=E5=9B= =B3=EF=BC=9AA bit of text} \framed[width=3D\textwidth,frame=3Doff,align=3Dflushright,broad]{=E4=BD=9C= =E5=9B=B3=EF=BC=9AA bit of text} is identical. Gerben=20 > On 16 May 2023, at 03:36, Li Yanrui (=E6=9D=8E=E5=BB=B6=E7=91=9E) via = ntg-context wrote: >=20 >=20 >=20 > Gerben Wierda via ntg-context > =E4=BA=8E2023=E5=B9=B45=E6=9C=8815=E6=97=A5=E5= =91=A8=E4=B8=80 16:43=E5=86=99=E9=81=93=EF=BC=9A > When I use flushright, my Japanese characters get widely spaced as if = flushing right doesn't work >=20 > Minimal example: >=20 > % =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > \definefallbackfamily > [archimate] > [ss] > [Hiragino Sans] > [preset=3Drange:japanese, > tf=3Dstyle:W3, > it=3Dstyle:W3, > bf=3Dstyle:W5, > bi=3Dstyle:W5, > force=3Dyes] >=20 > \definefontfamily [archimate] [ss] [Optima] >=20 > \setupbodyfont[archimate] >=20 > \startsetups [japanese] > \setscript [nihongo] > \stopsetups > \setuplanguage [ja] [setups=3Djapanese] > \mainlanguage [ja] >=20 > \starttext > \setupindenting[none] > \setupindenting[no] > \framed[width=3D\textwidth,frame=3Doff,align=3Dflushleft]{=E4=BD=9C=E5=9B= =B3=EF=BC=9AA bit of text} > \framed[width=3D\textwidth,frame=3Doff,align=3Dflushright]{=E4=BD=9C=E5=9B= =B3=EF=BC=9AA bit of text} > \framed[width=3D\textwidth,frame=3Doff,align=3Dflushright]{=E4=BD=9C=E5=9B= =B3: A bit of text} > \framed[width=3D\textwidth,frame=3Doff]{=E4=BD=9C=E5=9B=B3: A bit of = text} > \stoptext > % =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >=20 >=20 > Hi, >=20 > You can try `align=3D{flushright,broad}'.=20 >=20 > --=20 > Best regards, >=20 > Li Yanrui > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_DB938CE5-DD33-4FF1-A3F1-8B7FBF51A3CB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 That = does not make a difference.

Output of both lines

\framed[width=3D\textwidth,frame=3Doff,align=3Dflushright]{=E4=BD= =9C=E5=9B=B3=EF=BC=9AA bit of text}
\framed[width=3D\textwidth,frame=3Doff,align=3Dflushright,broad= ]{=E4=BD=9C=E5=9B=B3=EF=BC=9AA bit of text}

is identical.

Gerben 

On 16 May 2023, at 03:36, Li Yanrui (=E6=9D=8E=E5=BB=B6=E7=91=9E= ) via ntg-context <ntg-context@ntg.nl> wrote:



Gerben = Wierda via ntg-context <ntg-context@ntg.nl> =E4=BA=8E2023=E5=B9=B45=E6=9C=8815=E6= =97=A5=E5=91=A8=E4=B8=80 16:43=E5=86=99=E9=81=93=EF=BC=9A
When I = use flushright, my Japanese characters get widely spaced as if flushing = right doesn't work

Minimal example:

% = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D
 \definefallbackfamily
  [archimate]
  [ss]
  [Hiragino Sans]
  [preset=3Drange:japanese,
   tf=3Dstyle:W3,
  =  it=3Dstyle:W3,
   bf=3Dstyle:W5,
   bi=3Dstyle:W5,
  =  force=3Dyes]

\definefontfamily [archimate] [ss] [Optima]

\setupbodyfont[archimate]

\startsetups [japanese]
  \setscript [nihongo]
\stopsetups
\setuplanguage [ja] = [setups=3Djapanese]
\mainlanguage [ja]

\starttext
\setupindenting[none]
\setupindenting[no]
\framed[width=3D\textwidth,frame=3Doff,align=3Dflushleft]{=E4=BD= =9C=E5=9B=B3=EF=BC=9AA bit of text}
\framed[width=3D\textwidth,frame=3Doff,align=3Dflushright]{=E4=BD= =9C=E5=9B=B3=EF=BC=9AA bit of text}
\framed[width=3D\textwidth,frame=3Doff,align=3Dflushright]{=E4=BD= =9C=E5=9B=B3: A bit of text}
\framed[width=3D\textwidth,frame=3Doff]{=E4=BD=9C=E5=9B=B3: A = bit of text}
\stoptext
% = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D


Hi,

You can try = `align=3D{flushright,broad}'. 

-- 
Best = regards,

Li Yanrui
_______________________________________________________________= ____________________
If your question is of interest to others as well, please add = an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/wiki     : = https://contextgarden.net
_______________________________________________________________= ____________________
= --Apple-Mail=_DB938CE5-DD33-4FF1-A3F1-8B7FBF51A3CB-- --===============1986581558253075357== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============1986581558253075357==--