Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
keep the whole LocalGlyphRasterizer class to prevent constructor mini…
Browse files Browse the repository at this point in the history
…fication
  • Loading branch information
LukasPaczos committed Dec 16, 2019
1 parent 7b90328 commit 2decf30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Mapbox welcomes participation and contributions from everyone. If you'd like to do so please see the [`Contributing Guide`](https://github.com/mapbox/mapbox-gl-native/blob/master/CONTRIBUTING.md) first to get started.

## master
### Bug fixes
- Fixed a crash caused by an unintentional minification of the `LocalGlyphRasterizer`. [#102](https://github.com/mapbox/mapbox-gl-native-android/pull/102)

## 8.6.0-beta.1 - December 6, 2019
[Changes](https://github.com/mapbox/mapbox-gl-native/compare/android-v8.6.0-alpha.2...android-v8.6.0-beta.1) since [Mapbox Maps SDK for Android v8.6.0-alpha.2](https://github.com/mapbox/mapbox-gl-native/releases/tag/android-v8.6.0-alpha.2):
### Features
Expand All @@ -22,7 +26,7 @@ Mapbox welcomes participation and contributions from everyone. If you'd like to
## 8.6.0-alpha.2 - November 22, 2019
[Changes](https://github.com/mapbox/mapbox-gl-native/compare/android-v8.6.0-alpha.1...android-v8.6.0-alpha.2) since [Mapbox Maps SDK for Android v8.6.0-alpha.1](https://github.com/mapbox/mapbox-gl-native/releases/tag/android-v8.6.0-alpha.1):

### Bugs
### Bug fixes
- Synchronise LibaryLoader#loadLibrary to avoid race conditions resulting in UnsatisfiedLinkError [#58](https://github.com/mapbox/mapbox-gl-native-android/pull/58)

## 8.5.1 - November 20, 2019
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* LocalGlyphRasterizer is the Android-specific platform implementation used
* by the portable local_glyph_rasterizer.hpp
*/
@Keep
public class LocalGlyphRasterizer {
private final Bitmap bitmap;
@NonNull
Expand Down Expand Up @@ -49,7 +50,6 @@ of the bitmap (y: 20) with some buffer around the edge
* @return Return a {@link Bitmap} to be displayed in the requested tile.
*/
@WorkerThread
@Keep
protected Bitmap drawGlyphBitmap(String fontFamily, boolean bold, char glyphID) {
paint.setTypeface(Typeface.create(fontFamily, bold ? Typeface.BOLD : Typeface.NORMAL));
canvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR);
Expand Down

0 comments on commit 2decf30

Please sign in to comment.