font-size单位换算

Points Pixels Ems Percent

6pt


8px


0.5em


50%


7pt


9px


0.55em


55%


7.5pt


10px


0.625em


62.5%


8pt


11px


0.7em


70%


9pt


12px


0.75em


75%


10pt


13px


0.8em


80%


10.5pt


14px


0.875em


87.5%


11pt


15px


0.95em


95%


12pt


16px


1em


100%


13pt


17px


1.05em


105%


13.5pt


18px


1.125em


112.5%


14pt


19px


1.2em


120%


14.5pt


20px


1.25em


125%


15pt


21px


1.3em


130%


16pt


22px


1.4em


140%


17pt


23px


1.45em


145%


18pt


24px


1.5em


150%


20pt


26px


1.6em


160%


22pt


29px


1.8em


180%


24pt


32px


2em


200%


26pt


35px


2.2em


220%


27pt


36px


2.25em


225%


28pt


37px


2.3em


230%


29pt


38px


2.35em


235%


30pt


40px


2.45em


245%


32pt


42px


2.55em


255%


34pt


45px


2.75em


275%


36pt


48px


3em


300%

ZT FROM HP:http://blog.naver.com/dglogpic

时间: 2024-09-15 02:56:07

font-size单位换算的相关文章

Byte/KB/MB/GB 等字节单位换算

字节单位换算公式: 1 GB = 1024 MB 1 MB = 1024 KB 1 KB = 1024 Bytes 1 Byte = 8 bits 将字节单位转化为目标单位 根据公式我写了一段C++代码,用于将输入的以字节为单位的数值,转换为目标单位数值.代码中的枚举类型用的是C++11的语法. enum class Unit{ Byte, KB, MB, GB, TB, PB, EB }; double convert(double size, Unit unit) { double resu

文件大小单位换算

1 long g = 1024 * 1024 * 1024; 2 long m = 1024 * 1024; 3 long k = 1024; 4 if (size < k && size >= 1) 5 { 6 ShowMsg(message + size.ToString("0.00") + "B"); 7 } 8 else if (size < m && size >= 1024) 9 { 10 Show

单位换算

1.一英寸=72pt(点)=96px(像素)2.像素转毫米1  Image img = Image.FromFile(图片路径);2  double dpiX = img.HorizontalResolution; //水平分辨率3  double dpiY = img.VerticalResolution;//垂直分辨率4  //计算出毫米数5  double dWidth = (img.Size.Width / dpiX) * 25.4; // 像素转换成毫米公式:(宽度像素/水平DPI)*

Android视觉规范-间距规范与文字规范单位换算(dip、sp与px)

1.dip与px Android工程师在写页面时,margin值的单位是dip,而视觉设计师通常情况下是通过px来控制margin值的,不同单位之间的差别是什么呢?看下面的参数. 在WVGA(800x480)下dip与px之间的视觉测算结果: 1dip=2px 9dip=14px 17dip=26px 2dip=3px 10dip=15px 18dip=27px 3dip=5px 11dip=17px 19dip=29px 4dip=6px 12dip=18px 20dip=30px 5dip=

单位换算(格式化十进制数-B),获取时间工具类CommenUtil

package com.example.administrator.filemanager.utils; import java.text.DecimalFormat;import java.text.SimpleDateFormat;import java.util.Date; /** * Created by Administrator on 2016/12/29. */ public class CommonUtils {    //DecimalFormat:用于格式化十进制的数字   

Generate eps plot with appropriate font size and line width in GNU Octave

Because eps terminal is different from the one for screen display, the font size and line width should all be adjusted as the following example: clist = GenColorList(); h = 1; figure(h); clf(h); # This is mandatory. ## Set the axis position. Sometime

pm2.5计算和单位换算

1.pm2.5和pm10的计算 PM10a=PM10+PM25a PM25a=PM25+BC+OC+SOA1+SOA2+SOA3+SOA4+SOA5+SOA6+ANA+ASO4+ANO3+ACL+ANH4 或者: names = (/"A25I","A25J","AECI","AECJ","ANH4I", "ANH4J","ANO3I","ANO3J&quo

[Android Tips] 9. framework notification layout font size

android 4.4 framework notification layout 相关字体大小 * title: notification_title_text_size: 18dp * content: notification_text_size: 14dp * subtext: notification_subtext_size: 12dp [Android Tips] 9. framework notification layout font size

unity UGUI text font size对性能影响巨大

Font Size对ugui text的性能影响非常大. <Cube Duck Run>在itouch5上测试是很流畅的,但是在iphone5上测试,在game over后显示历史最高分时却总会卡好几秒,导致游戏体验极差.使用屏蔽法查了两天终于找到了问题的原因,原来显示历史最高分的text的font size设成了150.其实本来font size为50就够了,但是由于text的父节点上有个0.3倍的缩放,所以导致text的font size设成150其大小在屏幕上看起来才会适,当初编辑界面的

latex: font size 修改字体大小的几种方式

参考:Adjusting font size with TikZ picture 调整字体大小的几种方式,大小依次增大,具体如下: \tiny \scriptsize \footnotesize \small \normalsize \large \Large \LARGE \huge \Huge 用法如下: \node (c) at (1,2) {\large x}; 版权声明:本文为博主原创文章,未经博主允许不得转载.