diff options
| author | Po Lu | 2023-04-13 19:54:54 +0800 |
|---|---|---|
| committer | Po Lu | 2023-04-13 19:54:54 +0800 |
| commit | e11e56a057aae22872014e97684e0a9b3fbde156 (patch) | |
| tree | b6ad57e51d89ac220026f59a5546122c7e1ca706 /src | |
| parent | 562b2fca7d824a01d759bc7ade0e54ddd8497a0b (diff) | |
| download | emacs-e11e56a057aae22872014e97684e0a9b3fbde156.tar.gz emacs-e11e56a057aae22872014e97684e0a9b3fbde156.zip | |
Update Android port
* doc/emacs/android.texi (Android Fonts): Update documentation.
* doc/lispref/frames.texi (Accessing Selections, X Selections):
Fix typos.
* src/sfntfont-android.c (system_font_directories)
(init_sfntfont_android): Add `/product/fonts'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sfntfont-android.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sfntfont-android.c b/src/sfntfont-android.c index 5e4c8fc6c9f..de2a9253b57 100644 --- a/src/sfntfont-android.c +++ b/src/sfntfont-android.c | |||
| @@ -52,6 +52,7 @@ struct sfntfont_android_scanline_buffer | |||
| 52 | static char *system_font_directories[] = | 52 | static char *system_font_directories[] = |
| 53 | { | 53 | { |
| 54 | (char *) "/system/fonts", | 54 | (char *) "/system/fonts", |
| 55 | (char *) "/product/fonts", | ||
| 55 | /* This should be filled in by init_sfntfont_android. */ | 56 | /* This should be filled in by init_sfntfont_android. */ |
| 56 | (char[PATH_MAX]) { }, | 57 | (char[PATH_MAX]) { }, |
| 57 | }; | 58 | }; |
| @@ -772,7 +773,7 @@ init_sfntfont_android (void) | |||
| 772 | 773 | ||
| 773 | /* Set up the user fonts directory. This directory is ``fonts'' in | 774 | /* Set up the user fonts directory. This directory is ``fonts'' in |
| 774 | the Emacs files directory. */ | 775 | the Emacs files directory. */ |
| 775 | snprintf (system_font_directories[1], PATH_MAX, "%s/fonts", | 776 | snprintf (system_font_directories[2], PATH_MAX, "%s/fonts", |
| 776 | android_get_home_directory ()); | 777 | android_get_home_directory ()); |
| 777 | } | 778 | } |
| 778 | 779 | ||