ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: (hindi) font questions
Date: Fri, 10 Apr 2015 08:43:12 +0200	[thread overview]
Message-ID: <20150410064312.GA12330@hl.fritz.box> (raw)
In-Reply-To: <A3F8C078-4073-42AE-8047-381F8935D1AA@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]

On Apr 09, Wolfgang Schuster wrote:

> You can use the fallback mechanism to use a different font for characters which aren’t available in the main font.
> 
> \definefallbackfamily [mainface] [rm] [Devanagari MT] [range=devanagari,scale=1.2]
> \definefontfamily     [mainface] [rm] [TeX Gyre Pagella]
> 
> \definefontfamily     [mainface] [mm] [TeX Gyre Pagella Math]
> 
> \setupbodyfont[mainface]
> 
> \starttext
> Danke – धन्यवाद
> \stoptext

doesn't work for me -- the indien glyphs don't show up:-(

I'll attch my test, log and my current font...


Harald
-- 
"I hope to die                                      ___       _____
before I *have* to use Microsoft Word.",           0--,|    /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen.        <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
                                                       \/\/\/\/\/\/\/\/\/
Harald Koenig                                           //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

[-- Attachment #2: test.tex --]
[-- Type: application/x-tex, Size: 297 bytes --]

[-- Attachment #3: test.log --]
[-- Type: text/plain, Size: 5456 bytes --]

open source     > 1 > 1 > /home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2015.03.09 22:02 MKIV beta  fmt: 2015.3.10  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > /home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-new.mkiv
close source    > 2 > 2 > /home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > files > jobname 'test', input './test', result 'test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > /home/harald/tex/Indien-2015/test.tex
fonts           > preloading modern-designsize (mono)
fonts           > typescripts > unknown library 'modern-designsize' or 'modern'
fonts           > 'fallback modern-designsize tt 12pt' is loaded
backend         > xmp > using file '/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
close source    > 2 > 3 > /home/harald/tex/Indien-2015/test.tex
close source    > 1 > 3 > /home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-yes.mkiv

system          > structure > start used structure

used structure  > text: test

system          > structure > stop used structure


system          > files > start used files

used file       >    1: filename=cont-yes.mkiv filetype=tex foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used file       >    2: filename=publ-imp-default.lua filetype=scripts foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/publ-imp-default.lua usedmethod=database
used file       >    3: filename=cont-new.mkiv filetype=tex foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used file       >    4: filename=lang-us.lua filetype=scripts foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used file       >    5: filename=/home/harald/tex/Indien-2015/test foundname=/home/harald/tex/Indien-2015/test.tex usedmethod=qualified
used file       >    6: filename=texgyre.lfg filetype=tex foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/fonts/texgyre.lfg usedmethod=database
used file       >    7: filename=texgyrepagella-regular.otf filetype=otf format=otf foundname=/home/harald/tex/Indien-2015/ct/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf usedmethod=database
used file       >    8: filename=texgyrepagella-math.otf filetype=otf format=otf foundname=/home/harald/tex/Indien-2015/ct/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf usedmethod=database
used file       >    9: filename=lpdf-pdx.xml filetype=tex foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system          > files > stop used files


system          > options > start commandline options

used option     > currentrun="1"
used option     > fulljobname="./test"
used option     > input="./test"
used option     > kindofrun="1"
used option     > maxnofruns="8"
used option     > no-parse-first-line="true"

system          > options > stop commandline options

system          > options > start commandline files

used file       >    1: ./test

system          > options > stop commandline files


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /home/harald/tex/Indien-2015/ct/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.017 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 9 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 366 modules (0.261 sec), 76 tables (0.008 sec), 442 chunks (0.269 sec)
mkiv lua stats  > running in nuts mode: yes
mkiv lua stats  > cleaned up reserved nodes: 44 nodes, 439 lists of 438
mkiv lua stats  > node memory usage: 2 glue, 2 penalty, 9 attribute, 29 glue_spec, 3 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances (re)created, 39 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: 147 direct, 244 indirect, 391 total
mkiv lua stats  > randomizer: resumed with value 0.68047591842733
mkiv lua stats  > result saved in file: test.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 2 files: texgyrepagella-math.otf, texgyrepagella-regular.otf
mkiv lua stats  > fonts load time: 0.236 seconds 
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: texmf-linux-64
mkiv lua stats  > luatex banner: this is luatex, version beta-0.79.3 (tex live 2015/dev) (rev 5140)
mkiv lua stats  > control sequences: 39771 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 54 MB (ctx: 55 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.598 seconds, 1 processed pages, 1 shipped pages, 1.672 pages/second


[-- Attachment #4: Lohit-Devanagari.ttf --]
[-- Type: application/x-font-ttf, Size: 64232 bytes --]

[-- Attachment #5: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2015-04-10  6:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-08 21:47 Harald Koenig
2015-04-09 12:52 ` Wolfgang Schuster
2015-04-10  6:43   ` Harald Koenig [this message]
2015-04-10  8:59     ` Wolfgang Schuster
2015-04-13 19:20       ` Harald Koenig
2015-04-09 18:28 ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150410064312.GA12330@hl.fritz.box \
    --to=koenig@tat.physik.uni-tuebingen.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).