1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-07 08:00:48 -08:00

Minor fixes to Android port

* java/Makefile.in: (emacs.apk-in): Don't call cp with empty
args.
* java/org/gnu/emacs/EmacsDrawLine.java (perform): Fix for
PostScript filling semantics.
* src/Makefile.in (android-emacs): Build android-emacs directly.
This commit is contained in:
Po Lu 2023-01-25 19:15:30 +08:00
parent d63ee136d9
commit 888d351496
3 changed files with 11 additions and 5 deletions

View file

@ -56,9 +56,12 @@ public class EmacsDrawLine
paint.setStyle (Paint.Style.STROKE);
/* Since drawLine has PostScript style behavior, adjust the
coordinates appropriately. */
if (gc.clip_mask == null)
canvas.drawLine ((float) x, (float) y,
(float) x2, (float) y2,
canvas.drawLine ((float) x + 0.5f, (float) y + 0.5f,
(float) x2 + 0.5f, (float) y2 + 0.5f,
paint);
/* DrawLine with clip mask not implemented; it is not used by