From: luigi scarso <luigi.scarso@gmail.com>
To: Ulrike Fischer <news3@nililand.de>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: improving kannada script
Date: Fri, 2 Nov 2018 14:16:24 +0100 [thread overview]
Message-ID: <CAG5iGsA1x6TNTuJZWXoTMcZJ-+-d9fd144HOSwGXEbgaQcReRg@mail.gmail.com> (raw)
In-Reply-To: <9x8u6zvuwqbr.dlg@nililand.de>
[-- Attachment #1.1: Type: text/plain, Size: 2520 bytes --]
On Fri, Nov 2, 2018 at 1:05 PM Ulrike Fischer <news3@nililand.de> wrote:
> Am Fri, 2 Nov 2018 12:53:02 +0100 schrieb luigi scarso:
>
>
> >> You could try https://github.com/khaledhosny/luahbtex. Khaled is
> >> trying to marry luatex + harfbuzz there
>
> > sure, it's hardcoded , the final binary is quite heavy ...
> > Anyway, I am talking of dll/so plugin and tool,
> > it's more on the track of
> > https://www.guitex.org/home/images/ArsTeXnica/AT023/luaffi-article.pdf
>
> Well we (some of the latex team) tried to test this as we have quite
> an interest to have an option to use harfbuzz for some fonts but not
> every code needed seems to be available publicitly.
>
> it's complex thing... a binding depends on lua API and
the target lib API .. At that time the lua API was still in flux
(so a swiglib binding is not so useful) and the luaffi interface
non tested (just see the apart on the FFT) .
A (stable) luaffi could resolve the luatex side of the binding
and being lua code is more easy to adapt if the target API changes.
Also if I remember correctly this requires --shell-escape and this
> is not really sensible for a user interface.
>
it's the context ml, enable system commands is default (and we are still
here :-) . Anyway ConteXt has a sandbox too. )
But yes, the
--safer disable easily exploitable lua commands
--[no-]shell-escape disable/enable system commands
--shell-restricted restrict system commands to a list of
commands given in texmf.cnf
are part of the picture. Hans and I have to discuss this point.
Just to say: on my linux box, xetex from the official deb package has not
hb hardcoded:
# ldd `which xetex `
linux-vdso.so.1 (0x00007ffcb26d2000)
libharfbuzz-icu.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz-icu.so.0
(0x00007f5fe89c5000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
(0x00007f5fe8727000)
Even if I set all the paranoia flags, xetex will load these shared objects.
With a luaffi things doesn't change, the point is that luatex will load the
libs only when/if the user (script) will to do.
Of course, the xetex from texlive is statically compiled ... well almost. I
still see freetype as shared object.
Anyway, as I have said I am now focused on this issue now because I would
like to complete/fix it for the next texlive.
(to be honest: I think that all these safer shell-* switches are a bit
outdated nowadays, but they are there and I don't think they will disappear
. )
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 3838 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2018-11-02 13:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-30 9:17 Ulrike Fischer
2018-10-30 10:22 ` luigi scarso
2018-10-31 14:38 ` luigi scarso
2018-10-31 15:01 ` Hans Hagen
2018-10-31 15:03 ` luigi scarso
2018-11-04 1:12 ` luigi scarso
2018-11-02 10:27 ` Ulrike Fischer
2018-11-02 10:56 ` luigi scarso
2018-11-02 11:26 ` Ulrike Fischer
2018-11-02 11:53 ` luigi scarso
2018-11-02 12:04 ` Ulrike Fischer
2018-11-02 12:59 ` Aditya Mahajan
2018-11-02 13:16 ` luigi scarso [this message]
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=CAG5iGsA1x6TNTuJZWXoTMcZJ-+-d9fd144HOSwGXEbgaQcReRg@mail.gmail.com \
--to=luigi.scarso@gmail.com \
--cc=news3@nililand.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).