font

Materialize css icons doesn't show up in Safari browser

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I noticed that materialized CSS icons does not show up in Safari (v5.1.7 (7534.57.2) . Well searched a lot on this topic but there haven't been any documentation on browser compatibility where safari has been listed. Could anyone let me know if this is a bug which needs to be fixed or are there any alternatives to get this work in Safari. Other browsers Safari Browser PS:Other functionalities of materializecss works well except icons 回答1: I faced the exact same issue. The following approach helped me: I was facing problems with the

Roboto font bolder with Firefox

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I try to install Roboto on my website, using Google Fonts, and I feel desperate to see that Roboto is bolder (much bolder) in Firefox than in Google Chrome. Here are my codes : <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,700" rel="stylesheet"> And p { font-size: 1.4rem; line-height: 1.5; font-family: "Roboto", sans-serif; letter-spacing: 0; color: #313131; } And here are two preview of Roboto Font, first with Firefox, second with Chrome: As you can see, the Chrome Roboto is much lighter. I don't know why it happen, but

What makes a font invalid for use in gVim?

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm using gVim on Windows 7 and I recently added some fonts to C:\Windows\Fonts. In gVim, I can :set guifont=Font_Name some of them and it gets set as expected, but for several others I get E596 Invalid font(s): Font_Name . Obviously the fonts which do not make the cut either have or lack some property which gVim requires of fonts it loads. Does anyone know what those are, and what, if anything, one might do to modify an existing font so that it meets those criteria? In particular, the following fonts fail: Cronos Display

Font size too large to fit in cache

匿名 (未验证) 提交于 2019-12-03 08:44:33
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: So i recently switched to android 3.0 (honeycomb) and i'm having some issues with hardware rendering, specifically at a certain custom view i've written where I use a font size of 200 to display some text. Unfortunately it seems the openGLRenderer doesn't like that kind of rather large font sizes very much, given the error i'm getting in the log: 06 - 06 16 : 22 : 00.080 : ERROR / OpenGLRenderer ( 2503 ): Font size to large to fit in cache . width , height = 97 , 145 Are there ways around this (or ways to fix it) such that I can

Force Chrome to use external font in CSS

匿名 (未验证) 提交于 2019-12-03 08:44:33
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: It took me a long time to figure out, that Chrome always prefers local installed fonts over a font with the same name that is linked in the css (See also https://stackoverflow.com/a/27704394/1099519 ). My problem is how to figure out, to force Chrome not to do so. On my page https://www.amon.cc/ I use "Roboto Light" from Google Fonts ( https://fonts.google.com/specimen/Roboto ), like this: <link href = "//fonts.googleapis.com/css?family=Roboto:300" rel = "stylesheet" type = "text/css" /> In my CSS file the font is declared like

Setting global font family [duplicate]

匿名 (未验证) 提交于 2019-12-03 08:44:33
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Possible Duplicate: How to set the default font for a wpf application? Coming from a web development background I often get mixed up on how to assign styles to my controls. What I'd like to do is set a global font family for the entire application. In my App.xaml file I have the following <Style TargetType="{x:Type Window}"> <Setter Property="FontFamily" Value="Helvetica, Arial" /> <Setter Property="FontSize" Value="13" /> </Style> I've tried changing the target type to Control but that's not doing anything. I would expect that since

CSS: Disable font ligatures in all browsers

匿名 (未验证) 提交于 2019-12-03 08:44:33
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: As google fonts are blocked in China I had to download them and use FontSquirrel for conversion. The problem: fi/ff/etc are ugly I did all of the steps here Prevent ligatures in Safari (Mavericks/iOS7) via CSS but no cigar. How can I disable ligatures at once? -webkit-font-variant-ligatures: no-common-ligatures; Doesn't work 回答1: Despite no-common-ligatures you can try values like none , unset or no-contextual . See MDN for all possible values. Also it should be supported in all modern browsers. 回答2: Essentially the same answer that andreas

struct.error: unpack requires a string argument of length 16

匿名 (未验证) 提交于 2019-12-03 08:44:33
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: While processing a PDF file (2.pdf) with pdfminer (pdf2txt.py) I received the following error: pdf2txt.py 2.pdf Traceback (most recent call last): File "/usr/local/bin/pdf2txt.py", line 115, in <module> if __name__ == '__main__': sys.exit(main(sys.argv)) File "/usr/local/bin/pdf2txt.py", line 109, in main interpreter.process_page(page) File "/usr/local/lib/python2.7/dist-packages/pdfminer/pdfinterp.py", line 832, in process_page self.render_contents(page.resources, page.contents, ctm=ctm) File "/usr/local/lib/python2.7/dist-packages/pdfminer

Preloading fonts in Chrome with &#039;preload&#039; link directive

匿名 (未验证) 提交于 2019-12-03 08:41:19
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: The preload directive is not performing in Chrome as expected. Below is a full HTML page that may be opened in Chrome for results comparison. It should be applying all 5 fonts; instead, it only applies the first preloaded font, makes a faux italic for what should be the second, and simply substitutes the default serif for the remaining 3. Additionally, in the developer's console, this message appears--after about 3 seconds--for each of the five fonts: The resource [URL] was preloaded using link preload but not used within a few seconds from

How to honor Dynamic Type Accessibility Sizes with a custom font in an iOS storyboard

匿名 (未验证) 提交于 2019-12-03 08:41:19
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: How can I use the dynamic type text style "Title 1" and set the font face to the built-in font Chalkboard SE for a UILabel in a storyboard? I need to honor the Dynamic Type size in iOS (Apple has been encouraging this since iOS 7?) I also need to use the built-in font Chalkboard SE, which is not used by default for the "text styles" fonts. I am currently using a custom font as shown in the image, but need the font to change size in accordance with the user's Dynamic Type / Accessibility Sizes preference just as all the Text Styles