fonts

Font Awesome not working in Firefox & IE

社会主义新天地 提交于 2020-01-28 21:40:31
问题 I'm having an issue with font awesome which is included into a wordpress site. In Firefox and IE the icons won't show at all, however in Chrome & Safari it works fine. I have found "solutions" which say I need an .htaccess with certain content to provide support for these browsers, however, if i use this approach, Safari and Chrome are suddenly having issues themselves and Firefox and IE are still not working. Does anyone have any further ideas? Here is the error message put out by the

Font Awesome not working in Firefox & IE

不问归期 提交于 2020-01-28 21:36:48
问题 I'm having an issue with font awesome which is included into a wordpress site. In Firefox and IE the icons won't show at all, however in Chrome & Safari it works fine. I have found "solutions" which say I need an .htaccess with certain content to provide support for these browsers, however, if i use this approach, Safari and Chrome are suddenly having issues themselves and Firefox and IE are still not working. Does anyone have any further ideas? Here is the error message put out by the

Fonts missing in WinForms.FontDialog

孤人 提交于 2020-01-28 11:21:09
问题 When I display an instance of WinForms.FontDialog (C#, .NET 2.0), I am missing some fonts that I expect to be there (e.g. Courier, Fixedsys, MS Sans Serif). Also, a customer is complaining that Adobe fonts he has installed are also not showing up in the list. How can I get these fonts to display in this dialog? 回答1: FontDialog was designed to only show TrueType fonts to stay compatible with GDI+. Getting it to show the device fonts takes a bit of Reflection hacking: using System.Reflection; .

Text alignment and font size in gtable

爱⌒轻易说出口 提交于 2020-01-28 11:08:09
问题 My question relates to the answer by Baptiste that you can find here: https://stackoverflow.com/a/18667413/2072440. That code does pretty what I want it to do. I would like to make two modifications. First, I would like to align the text in the first column to the left. Second, I would like to change the font of the text. I have tried to edit the line that describes the fill for the cells' background but that does not seem to impact the font and it only impacts the position of the boxes

How to apply FontSize dynamically and programmatically without using XML in Android? [duplicate]

有些话、适合烂在心里 提交于 2020-01-28 10:23:39
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How to change the Font Size in a whole Application programmatically, Android? This is my Code : I have created Spinner with a list of FontSize options. If I click FontSize "26" then it should be able to change in that specific FontSize. Below I have an EditBox. So if I clicked Fontsize as 40 and in a Italic style than usual Bold. So I should be able to type inside EditBox with this selected "Font" : FontSize "40

How to apply FontSize dynamically and programmatically without using XML in Android? [duplicate]

我的梦境 提交于 2020-01-28 10:23:10
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How to change the Font Size in a whole Application programmatically, Android? This is my Code : I have created Spinner with a list of FontSize options. If I click FontSize "26" then it should be able to change in that specific FontSize. Below I have an EditBox. So if I clicked Fontsize as 40 and in a Italic style than usual Bold. So I should be able to type inside EditBox with this selected "Font" : FontSize "40

TTF Font not being displayed when using @Font-Family

六眼飞鱼酱① 提交于 2020-01-25 21:11:29
问题 I am trying to add a Font to a website im making using @Font-Face but its not working. I did it exactly like in the link above, but its not working. My Code: @font-face { font-family: 04B; src: url("04b.ttf") format('truetype'); } table { margin:auto; text-align:center; font-size:40px; font-family: 04B; table-layout: fixed; width: 100%; } h1 { text-align:center; font-size:50px; font-family: 04B; } <h1>Problem is that the font displays exactly like it does in this demo window but shouldnt

Google font not showing in firefox

天涯浪子 提交于 2020-01-25 11:57:20
问题 for my website I'm using couple of google fonts: @import url(https://fonts.googleapis.com/css?family=Montserrat:400,700); @import url(https://fonts.googleapis.com/css?family=Raleway:300,400,300italic,400italic&subset=latin,latin-ext); @font-face { font-family: 'Montserrat', sans-serif; font-family: 'Raleway', sans-serif; } The work well in Chrome and Safari, but in Firefox (I tried 47 and 47.0.1) the font "Montserrat" is not displaied. It's very curious because I get no network error or no

PHP GD Font Width Calculate Help

安稳与你 提交于 2020-01-25 09:16:08
问题 OK a little background story. I am redesigning one of my old websites and I want to use Myriad Pro for the title on the page. This will be dynamic with PHP, etc. At first I thought I should just use CSS styles and define Myriad as the main font. But after using typetester.org, I found that Myriad and let's say Arial are different heights even if they are the same font size. So I could use CSS and risk breaking my design in browsers without the font... So then I thought I could use sIFR.

Configure fonts in webpack

好久不见. 提交于 2020-01-25 07:24:34
问题 I have a slight problem with webpack here; I'm somewhat unable to load fonts. This is my webpack.config.js const nodeExternals = require('webpack-node-externals'); const path = require('path'); const devMode = true; const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); module.exports = { entry: [ './src/main.js', './scss/main.scss' ], output: { filename: "main.min.js", chunkFilename: '[name].bundle.min.js?bust=