Update Android port

* java/org/gnu/emacs/EmacsDrawRectangle.java (perform):
* java/org/gnu/emacs/EmacsSdk7FontDriver.java (Sdk7FontEntity):
(hasChar): Clean up dead stores.
This commit is contained in:
Po Lu 2023-06-23 11:54:56 +08:00
parent 866a937540
commit a5ee9a69ae
2 changed files with 1 additions and 5 deletions

View file

@ -72,7 +72,6 @@ public final class EmacsDrawRectangle
+ clipBitmap.getWidth ()),
(gc.clip_y_origin
+ clipBitmap.getHeight ()));
clipBitmap = gc.clip_mask.bitmap;
if (!maskRect.setIntersect (dstRect, maskRect))
/* There is no intersection between the clip mask and the

View file

@ -169,8 +169,6 @@ protected static final class Sdk7FontEntity extends FontEntity
public
Sdk7FontEntity (Sdk7Typeface typeface)
{
float width;
foundry = "Google";
family = typeface.familyName;
adstyle = null;
@ -363,7 +361,7 @@ protected final class Sdk7FontObject extends FontObject
public int
hasChar (FontSpec font, char charCode)
{
float missingGlyphWidth, emGlyphWidth, width;
float missingGlyphWidth, width;
Rect rect1, rect2;
Paint paint;
Sdk7FontObject fontObject;
@ -382,7 +380,6 @@ protected final class Sdk7FontObject extends FontObject
return 1;
missingGlyphWidth = paint.measureText (TOFU_STRING);
emGlyphWidth = paint.measureText (EM_STRING);
width = paint.measureText ("" + charCode);
if (width == 0f)