Http://blog.chinaunix.net/uid-26926660-id-3325421.html
I. Background
Try to make it easier.
II. Analysis2.1.Font position in the file system:
/System/fonts/where TTF files are font files for the font files under the source code/frameworks/data/fonts/
DroidSans-Bold.ttf bold unlined font (Latin letters, etc)
Droidsans. TTF regular unlined fonts (Latin letters, etc)
Droidsansfallback. TTF regular unlined fon
to customize incoming call ringtones, text message ringtones, and alarm clocks?Create three folders on the SD card: alarms, alarm, ringtones, incoming call ringtones, notifications, and SMS ringtones. Then, save the set ringtone to the corresponding folder.3. How to change the font? [Mobile Phone requires root] clockopia. default Time font of the TTF system, droidsans. TTF droidsans system default English
Although Android has supported more than 50 languages since 2.3, there are fonts in every language that can be displayed. Meet a new demand, have customer request to Hindi language support. So the internet to find some information, found that most of the online introduction is how to replace the default font, is replaced./frameworks/base/data/fonts/droidsansfallback.ttf, but after the replacement, Chinese can not be displayed correctly.
in fact, as long as there are several steps, you can imple
:
Function displayinfo () {var message; var isfontsmoothingon = typehelpers. hassmoothing (); If (isfontsmoothingon = true) {message = "This browser is using a font-smoothing technology";} else if (isfontsmoothingon = false) {message = "This browser isn' t using a font-smoothing technology"} else {message = "We cocould not detect if font-smoothing is being used. "} document. getelementbyid ('detectinfo '). innerhtml = message;} window. onload = displayinfo;
See the above Code in act
mainly contains the droidsans. TTF and droidsansfallback. TTF, where droidsans. TTF is in English, droidsansfallback. TTF is a Chinese font. We only need to change the appropriate font file to the two file names, and then drag it to the font folder in the compressed package to complete the font replacement. frameworks: the name looks like a frame structure folder. For example, the battery information we mo
, and the system font is loaded in the Preloading classes of Zygote.
Related Files include skTypeface. cpp and skFontHost_android.cpp. The latter is the port implemented by skia for the font of the android platform.
The main variables are:
Struct FontInitRec {
Const char * fFileName;
Const char * const * fNames; // null-terminated list
};
Struct FamilyRec {
FamilyRec * fNext;
SkTypeface * fFaces [5];
};
Uint32_t gFallbackFonts [SK_ARRAY_COUNT (gSystemFonts) + 1];
Lo
without Lucida Grande from MacOS. Refer to the following article). This is the low version number Ngui design is not good. Ngui actually does not have a dynamic font, its dynamic font is actually called Unity's dynamic font settings, its own only bitmap fonts. After upgrading Ngui to 3.5.6, the outgoing font option has only Ngui and unity, and then selects the details with what font. Ngui finally got the self-knowledge. no longer misleading. and choosing unity will block out the font options fo
): src_path, the directory to be extracted, and the destination directory of destination_path. Purpose: extract the directory from the update package to the specified location.
Package_extract_dir ("recovery", "/system"); // extract recovery
Package_extract_dir ("system", "/system"); // extract system
// Create a symbolic link
Symlink ("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf ");
Symlink ("Roboto-Regular.ttf", "/system/fonts/
\\share\\fonts\\truetype\\droid\\droidsans-bold.ttf""Droid Sans Ethiopic (TrueType)" = "Z:\\usr\\share\\fonts\\truetype\\droid\\droidsansethiopic-regular.ttf""Droid Sans Ethiopic Bold (TrueType)" = "Z:\\usr\\share\\fonts\\truetype\\droid\\droidsansethiopic-bold.ttf""Droid Sans fallback (TrueType)" = "y:\\development\\navicat110_premium_cs\\wine\\bin\\. \\share\\wine\\fonts\\\\DroidSansFallback.ttf ""Droid Sans Georgian (TrueType)" = "Z:\\usr\\share\\f
The Android font file is placed in: alps\frameworks\base\data\fontsWhich Droidsans.ttf is the default English font, DROIDSANS-BOLD.TTF is the default English bold font; DROIDSANSFALLBACK.TTF is the default Chinese font.
To add a set of third party Chinese font () for example.
Because Google provides the default Chinese font Droidsansfallback.ttf is not very comprehensive, so customers often need to increase the three-party Chinese font to support th
Come on, custom Ubuntu clock display. If you are bored with the default date and time of the clock on the right of the above version, why don't you try to replace it with a topic shown below? As for how to do this in the future, let's take a look! Stacked: JustTime: OSXStyle: Change the GNOME clock applet Topic 1. shortcut Alt + F22. input: gconf-editor3. press ENTER 4. find "Apps gt; Panel gt; Applets gt; to customize the Ubuntu clock display.
If you are bored with the default date and ti
font4.0 Previous version English font native Android using droidsans android Span class= "pun" > will hit droid sans fallback4.0 android New roboto font Other third party android The system also chooses the default sans serif font Basic interactionSet the global CSS style to avoid long pressing of the pop-up menu and the selected text in the diagrama, img { -webkit-touch-callout: none; /* 禁止长按链接与图片弹出菜单 */}html, body { -w
For androidChanging the font of the mobile phone system is a must for many users who like to try it.AndroidThe system font is unknown to many users. This document describes how to replace the system Font:
1. Install a software package root Explorer (download: http://www.androidmi.com/xz/xtgj/zenqiang/201003/266.html ), used to view the system folder, run after installation, you can take a look and see system/font, right, the font is placed here
gsystemfonts [] = {
{"Droidsans. TTF", gsansnames },
.........
{"Droidsansarabic. TTF", gfbnames },
4. The font is ready, and some makefiles need to be modified. Under external/icu4c/studata/Android. mk:
Config: = $ (word 1 ,\
$ (If $ (findstring AR, $ (product_locales), large )\
$ (If $ (findstring FA, $ (product_locales), large )\
5. Add a new values-fa-RIR folder under frameworks/base/CORE/RES/and create a new strings. xml file.
6
after adding the source,
4. Change the konsole and kwrite fonts.
The default font is too low to display Chinese characters, which is not beautiful and the font is too small. We recommend that you change the font size to another font with equal width (10), for example, DroidSans Mono.
5. If you are using five of them, you must change the overall code to a simplified one.
First install five simple code tables
Sudo zypper in fcitx-table-cn-wubi
Go to
Android phones because of the open source of its system features, users can make a lot of personalized customization, to create their own unique one of the mobile phone. Font replacement is a lot of people often use a personalized modification, on the Android font replacement, there are many ways, here for you to sum up.
1, find your favorite fonts, replace with the RE manager. How to: Download your favorite fonts, this I will not say, a few will be attached to my collection of fonts. Fonts are
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.