Setting up the full-site font has always been a simple and not easy thing to do, because there is too much to go through.This article is mainly to say that for an ordinary website, how to choose the font according to their own needs.1. Necessary KnowledgeFirst of all, we should make it clear that you are not setting up this font and the user's computer will be displayed in this font. If the user's computer does not have this font installed, it will be rendered in the second font you set. See a c
Css specifications and css naming rules
1. File[Recommended] CSS files are encoded using a UTF-8 without BOM.Explanation:UTF-8 coding has wider adaptability. BOM (byte order mark) may cause unnecessary interference when processing files using programs or tools.Extension:Http://www.zhihu.com/question/20167122
2. indent[Force] four spaces are used as an indent level. Two spaces or tab characters are not allowed.Example:
.selector { margin: 0; padding: 0;}
3. Space[Mandatory] the selector a
http://ued.ctrip.com/blog/?p=3589#more-3589I used to do the project in accordance with the gourd drawing dipper set {font-family:arial, "Microsoft Yahei", simsun,sans-self;} and other similar fonts, however, when more devices and systems appear, Previous settings such as this have not been able to meet the needs of Web pages on each device.For the simplest SimSun, the display in Windows is a relatively easy-to-read font, but on a Mac you can't look di
I used to do the project in accordance with the gourd drawing dipper set {font-family:arial, "Microsoft Yahei", simsun,sans-self;} and other similar fonts, however, when more devices and systems appear, Previous settings such as this have not been able to meet the needs of Web pages on each device.For the simplest SimSun, the display in Windows is a relatively easy-to-read font, but on a Mac you can't look directly at it, such as a comparison of the p
-2. fc12 set to upgrade
---> Package gssdp. i686. 6.4-4. fc12 is set to upgrade
--> Process conflict: dejavu-sans-mono-fonts conflicts with dejavu-fonts-experimental --> Process conflict: dejavu-sans-mono-fonts conflicts with dejavu-fonts --> Process conflict: dejavu-serif-fonts conflicts with dejavu-fonts-experimental --> Process conflict: dejavu-serif-fonts conflicts with dejavu-fonts --> Process conflict
Here for everyone to send a copy of the CSS code writing guidelines, including code comments and naming specifications and space indentation and so on, all come from the usual convention, definitely worth learning, the need for friends can refer to the next
1. Formatting code1.1 Files[Recommended]:css file using UTF-8 encoding without BOM1.2 Indent[Force]: use 4 spaces as an indent level, 2 spaces or tab characters are not allowed.
. selector { margin:0; padding:0; }
1.3 Spaces[M
Here for everyone to send a copy of the CSS code to write the guide, including code comments and naming conventions and space indentation and so readily available, are from everyone's usual convention, definitely worth learning from, the need for friends can refer to the next
1. Formatting code1.1 File [recommended]:css file using UTF-8 encoding without BOM1.2 Indent [Force]: use 4 spaces as an indent level, 2 spaces or tab characters are not allowed.
. selector { margin:0; padding:
[Reprint] Do you know about webpage font settings ?, Reprint font settings
In the previous project, similar fonts such as {font-family: arial, "microsoft yahei", simsun, and sans-self;} were set according to the settings of the gourd image watermark, however, when more devices and systems appear, the previous settings cannot meet the display requirements of webpages on various devices.
Take the simplest simsun for example. In Windows, the display is a
);Pen pen = new Pen(Brushes.Black);graph.DrawLines(pen, new Point[] { new Point(10,10), new Point(800, 900) });graph.DrawString("Hello drawing from .NET Core :)", new Font(new FontFamily("DecoType Thuluth"), 20, FontStyle.Bold), Brushes.Blue, new PointF(150, 90));image.Save("graph.jpeg", System.Drawing.Imaging.ImageFormat.Png);After you run the above code, you will see a slice like:The following is a list of fonts that are currently supported:AGA Arabesqueaga Arabesque desktopagency fbakhbar mt
Mainly refer to thisHttp://ingramchen.io/blog/2014/07/ubuntu-noto-font.htmlFixed an invalid font name setting in the article.First download Google's source blackbody, Siyuan blackbody homepage:http://www.google.com/get/noto/Official installation Method Link:http://www.google.com/get/noto/help/install/The following customer process is suitable for Ubuntu 14.04, and other Linux should also be generic, first download the source font, unpack the zip, and put the CJK font into the catalogue ~/.fonts/
About the font setting and font setting of webpages
Setting the font of the entire site has always been a simple but not simple task, because it involves too many things.This article describes how to select a font for an ordinary Website Based on your needs.
1. required knowledgeFirst, we should make it clear that this font is not set for you, and the user's computer will display it in this font. If this font is not installed on your computer, it will be rendered in the second font you set. See
About the font setting and font setting of webpages
Setting the font of the entire site has always been a simple but not simple task, because it involves too many things.This article describes how to select a font for an ordinary Website Based on your needs.
1. required knowledgeFirst, we should make it clear that this font is not set for you, and the user's computer will display it in this font. If this font is not installed on your computer, it will be rendered in the second font you set. See
...... You should be familiar with it.-Common fonts in Mac OS X
A typical installed Mac OS X 10.4 contains the following commonly used Spanish fonts (some of which are not listed ):
Sans-serif
Serif
Monospace
Helvetica
Times
Courier
Arial
Times New Roman
Courier New
Arial narrow
Georgia
Arial Black
Comic Sans MS
systems. Although it sounds simple, it is still a tricky thing. To solve this problem, you must first understand the fonts of common operating systems.
Below I will list some default fonts for common operations except Windows. Windows ...... You should be familiar with it. -Common fonts in Mac OS X
A typical installed Mac OS X 10.4 contains the following commonly used Spanish fonts (some of which are not listed ):
sans-serif
s
systems. Although it sounds simple, it is still a tricky thing. To solve this problem, you must first understand the fonts of common operating systems.
Below I will list some default fonts for common operations except windows. Windows ...... You should be familiar with it.-Common fonts in Mac OS X
A typical installed Mac OS X 10.4 contains the following commonly used Spanish fonts (some of which are not listed ):
Sans-serif
Serif
Mono
for Chinese language (zh) using# The simplified chinese standard GuoBiao as in mainland China (CN)##1999, Pablo Saratxaga#
Style "gtk-default-zh-cn "{Fontset = "-*-bitstream vera sans-medium-r-normal-*-120-*-p-*-microsoft-cp1252 ,\-*-Simsun-medium-r-normal-*-12-*-gbk-0"}Class "GtkWidget" style "gtk-default-zh-cn"
This file tells the program that bitstream vera sans fonts are preferred for English fonts. Be
, delicate feeling, thick bold word to people heavy, stout, the feeling of strength, These glyphs are designed according to different needs. In addition to the two basic glyphs of XXFarEastFont-Arial and blackbody, there are many different kinds of Chinese glyphs, such as
PS: The lining of the word will be mentioned later, because the lining and no liner body is the development of western fonts, applied in the Chinese style, the song is the lining of the body, the black body is no liner.
The
This is a foreign web design common English fonts (safe font) list for reference:
Font-family:arial, Helvetica, Sans-serif;
font-family: ' Arial black ', Gadget, Sans-serif;
font-family: ' Bookman old Style ', serif;
Font-family: ' Comic Sans MS ', cursive;
Font-family:courier, monospace;
font-family: ' Courier New ', Courier, monospace;
Font-family:garamo
Mobile Apps1. The standard design language of each platform (Android/ios/html5/web) is close to the sameThere are only stylistic differences on some native controls and no significant impact on users.Material design does not daxing its way, it is not possible to attack (using the Material design App on iOS), and the pragmatism of iOS will significantly impact Material design.The common form of interaction on the desktop will also affect the mobile side more, and to support production-grade devic
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.