From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114389 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Nedeljkovic via ntg-context Newsgroups: gmane.comp.tex.context Subject: Cyrillic alternate form in Neacademia Date: Sat, 19 Feb 2022 16:59:43 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5624974972375802949==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15819"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Nedeljkovic To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 21 08:08:33 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nM2oC-0003wM-AD for gctc-ntg-context-518@m.gmane-mx.org; Mon, 21 Feb 2022 08:08:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0DA1A2A2BF4; Mon, 21 Feb 2022 08:07:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-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 ywnDc0Q7Jrzn; Mon, 21 Feb 2022 08:07:53 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C75C2A2BB3; Mon, 21 Feb 2022 08:07:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B5FC52A2B94 for ; Sat, 19 Feb 2022 16:59:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-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 aZeFbzmzLjfc for ; Sat, 19 Feb 2022 16:59:55 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.53; helo=mail-lf1-f53.google.com; envelope-from=tsar.srb@gmail.com; receiver= Original-Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C763E2A2693 for ; Sat, 19 Feb 2022 16:59:55 +0100 (CET) Original-Received: by mail-lf1-f53.google.com with SMTP id d23so10801485lfv.13 for ; Sat, 19 Feb 2022 07:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=/dxX6gVi1KCU/W+q5Wg1z9GqVnmMWJwHcVaptVRKjX8=; b=SYG8iz7NhUOZTey+qfaiWOH6cVJ6hyWM2B4lmwwDVPf3YVEudUIIRAE5mw9asjSTJW iknobt4o00QZ8Jzt6PsmsZ3k1nLyEQNvHoy4RpBj01G/7G5eIFIOU8njs5z2FDzuT6Vt UH1e8MWqc8ffqTb6fyeEtflHsqvBuhRr/dx81ULRIwSYRkOpBV32khybrDg29QwzwH/H F8x7UdTk1wNmNjiY78oW/ogRloPOf++3M53N06eaCQDvy4hPjP3n9ofMvjriOfqEuDyK kQiUR/0pCVhvoAksp/fpvABIf5/6jd+OQNxk3yjGGqol1M35o9yt8yVNumgocK/O4PiZ WpKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/dxX6gVi1KCU/W+q5Wg1z9GqVnmMWJwHcVaptVRKjX8=; b=BUL78oO66d6ssFD7NAcRoambVSlBTfT9+Be6mW9nRrJUJgaeFq1gGhnNoDcD+M0v8I daCAnVsUu0nIX6hKORM9pvwttXvlEhD2/7pP8bJ5tgJTlLrICdOZhHyRyaVG2kdbR4Qm 4mdxqWTBVFSHOCdxPWghtbKljFinmiuDEelI1e5xfBK+qnLIzbJ1+w6+HHNe2pYS1Tmr ShB0OY2arUck9M8I8sbPhh/4GpuT3ABXUqtohHjj7WSkGVVk81xHhyP0yOXJke6jZuTk Eq9HkjX8rjXZ5+4rl3Ud5JGupbLcNSSwdcGTQUOZr2aBAY1SOkrxfe+9P8/Kp0+FRpon M42w== X-Gm-Message-State: AOAM533rR+LjlDL10LpNO0j8w0AKqvSLpg2cP21KCmEBE3gBRyDE6k1Y IxvagrsgEvSo3bC6sQszOycfbsry4jdJMx/kBHPjeNgy5KOFSw== X-Google-Smtp-Source: ABdhPJxZtUUXbatxZZmXb7MTDyrW5X1ILGZFnAhmj8ZWYqzYeIB1Ag+jcVVogOArNDWpnNkq6ZuJxbNyR/lTYjMkCOU= X-Received: by 2002:a19:e007:0:b0:443:8901:700 with SMTP id x7-20020a19e007000000b0044389010700mr8974443lfg.282.1645286394611; Sat, 19 Feb 2022 07:59:54 -0800 (PST) X-Mailman-Approved-At: Mon, 21 Feb 2022 08:07:52 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.io gmane.comp.tex.context:114389 Archived-At: --===============5624974972375802949== Content-Type: multipart/alternative; boundary="0000000000001ac9d305d86117d0" --0000000000001ac9d305d86117d0 Content-Type: text/plain; charset="UTF-8" Dear list, I'm using the typeface Neacademia Text, and I'm trying to configure it to the specifics of the Serbian language. I want to replace the usual form of the lowercase cyrillic letter BE with the traditional Serbian form. I opened the font file in Font Forge and looked up the glyph info. Here is what I tried and what failed: \startluacode fonts.handlers.otf.addfeature { name = "besub", type = "substitution", data = { ["uni0431"] = "uni0431.SRB.alt" } } \stopluacode \definefontfeature[default] [mode=node,kern=yes, liga=yes,dlig=yes, calt=yes,ss03=yes, case=yes,ccmp=yes, locl=yes,script=cyrl,language=srb, besub=yes] No luck using hex codes either: \startluacode fonts.handlers.otf.addfeature { name = "besub", type = "substitution", data = { [0x1ab] = 0x3f8 } } \stopluacode"uni0431" Interestingly the single substitutions from page 175 of the fonts manual seem to work just fine. Any help is appreciated. Sincerely, Stefan --0000000000001ac9d305d86117d0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear list,

I'm using the typeface N= eacademia Text, and I'm trying to configure it to the specifics of the = Serbian language. I want to replace the usual form of the lowercase cyrilli= c=C2=A0letter BE with the traditional Serbian form. I opened the font file = in Font Forge and looked up the glyph info. Here is what I tried and what f= ailed:

\startluacode
fonts.handlers.otf.addfea= ture {
name =3D "besub",
type =3D "substitution&qu= ot;,
data =3D {
["uni0431"] =3D "uni0431.SRB.alt&= quot;
}
}
\stopluacode

\definefont= feature[default]
=C2=A0 [mode=3Dnode,kern=3Dyes,
=C2=A0 liga=3Dyes,dl= ig=3Dyes,
=C2=A0 calt=3Dyes,ss03=3Dyes,
=C2=A0 case=3Dyes,ccmp=3Dyes,=
=C2=A0 locl=3Dyes,script=3Dcyrl,language=3Dsrb,
=C2=A0 besub=3Dyes]<= br>

No luck using hex codes either:

=
\startluacode
fonts.handlers.otf.addfeature {
name =3D = "besub",
type =3D "substitution",
data =3D {<= br> [0x1ab] =3D 0x3f8
}
}
\stopluacode"uni0431"
=

Interestingly the single substitutions from page = 175 of the fonts manual seem to work just fine.
Any help is appre= ciated.

Sincerely,
Stefan
--0000000000001ac9d305d86117d0-- --===============5624974972375802949== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5624974972375802949==--