Update Android port

* doc/emacs/android.texi (Android Startup): Fix typos.
* src/sfnt.c (sfnt_interpret_msirp): Fix order in which operands
to MSIRP are popped.
(main): Reduce ppem values.
This commit is contained in:
Po Lu 2023-02-08 22:51:43 +08:00
parent 2c5e36e00b
commit 6de4deb47e
2 changed files with 12 additions and 11 deletions

View file

@ -110,16 +110,17 @@ the Emacs files directory can be erased through the same preferences
screen.
@cindex emacsclient wrapper, android
Since there is no other way to start the @cmd{emacsclient} program
(@pxref{Emacs Server}) from another Android program, Emacs provides a
wrapper around the @cmd{emacsclient} program, which is registered with
the system as an application that can open all text files.
Since there is no other way to start the @command{emacsclient}
program (@pxref{Emacs Server}) from another Android program, Emacs
provides a wrapper around the @command{emacsclient} program, which is
registered with the system as an application that can open all text
files.
When that wrapper is selected as the program with which to open a
file, it invokes @cmd{emacsclient} with the options
@cmd{--reuse-frame}, @cmd{--timeout=10}, @cmd{--no-wait}, and the name
of the file being opened. Then, upon success, the focus is
transferred to any open Emacs frame.
file, it invokes @command{emacsclient} with the options
@command{--reuse-frame}, @command{--timeout=10}, @command{--no-wait},
and the name of the file being opened. Then, upon success, the focus
is transferred to any open Emacs frame.
It is sadly impossible to open certain kinds of files which are
provided by a ``content provider''. When that is the case, a dialog

View file

@ -7887,7 +7887,7 @@ sfnt_measure_distance (struct sfnt_interpreter *interpreter,
static void
sfnt_interpret_msirp (struct sfnt_interpreter *interpreter,
uint32_t p, sfnt_f26dot6 d, unsigned char opcode)
sfnt_f26dot6 d, uint32_t p, unsigned char opcode)
{
sfnt_f26dot6 rp0x, rp0y, rp0_original_x, rp0_original_y;
sfnt_f26dot6 x, y;
@ -14718,8 +14718,8 @@ main (int argc, char **argv)
data[i]->format);
}
#define FANCY_PPEM 30
#define EASY_PPEM 30
#define FANCY_PPEM 20
#define EASY_PPEM 20
interpreter = NULL;
head = sfnt_read_head_table (fd, font);