fonts

IE9 causes all webpage text to render as Italic when font-family:'Goudy OldStyle'

允我心安 提交于 2019-12-24 06:45:22
问题 I just downloaded and installed IE9 and used it on our intranet web pages. This problem only occurs when the font-family is set to Goudy Old Style. When I changed the font-family to Verdana the page rendered properly( that is according to the stylesheet). The problem does not occur in Firefox. It didn't help to specify font-style:normal in the default BODY style. When I inspect the dom object in the developer mode I can see the style applied to the object and it matches what is in the

How to detect the font which is used in this heading?

坚强是说给别人听的谎言 提交于 2019-12-24 06:44:38
问题 this is a simple facebook page(just as an example) and I want to know what is the name of the font which is used for the heading("Introducing Graph Search"); I can see the source of the page in google chrome by using the "view source" option in chrome but I can't just find the exact font name; 回答1: Use the inspector Computed Panel (Chrome) font-family: 'Freight Sans Bold', 'lucida grande', tahoma, verdana, arial, sans-serif; 回答2: If you wish to use firefox plugin you may go for "font finder"

How to detect the font which is used in this heading?

假如想象 提交于 2019-12-24 06:44:10
问题 this is a simple facebook page(just as an example) and I want to know what is the name of the font which is used for the heading("Introducing Graph Search"); I can see the source of the page in google chrome by using the "view source" option in chrome but I can't just find the exact font name; 回答1: Use the inspector Computed Panel (Chrome) font-family: 'Freight Sans Bold', 'lucida grande', tahoma, verdana, arial, sans-serif; 回答2: If you wish to use firefox plugin you may go for "font finder"

Change Font in Bitmap Style Designer

做~自己de王妃 提交于 2019-12-24 06:06:41
问题 Delphi XE7 provides the "Bitmap Style Designer" tool ('Tools > Bitmap Style Designer') which can be used to edit and create styles for your metro themed applications. Changing graphics and colors for buttons, checkboxes and labels works and looks pretty fly. But how can I change the Font Settings? To be more precise: What can I do to let the font settings take effect on my application? Of course there's a Fonts-Section where custom font-styles, -families, -sizes and so on can be edited, but

Get font height/weight from TextRenderInfo how?

为君一笑 提交于 2019-12-24 05:54:16
问题 When I parse an existing PDF using iText(Sharp), I create an object which implements IRenderListener which I pass into PdfReaderContentParser.ProcessContent() and sure enough, my object's RenderText() gets called repeatedly with all the text in the PDF. The problem is, the TextRenderInfo tells me about the base font (in my case, Helvetica) but I can't tell the height of the font nor its weight (regular vs. bold). Is this a known deficiency of iText(Sharp) or am I missing something? 回答1: the

Get font height/weight from TextRenderInfo how?

你离开我真会死。 提交于 2019-12-24 05:54:04
问题 When I parse an existing PDF using iText(Sharp), I create an object which implements IRenderListener which I pass into PdfReaderContentParser.ProcessContent() and sure enough, my object's RenderText() gets called repeatedly with all the text in the PDF. The problem is, the TextRenderInfo tells me about the base font (in my case, Helvetica) but I can't tell the height of the font nor its weight (regular vs. bold). Is this a known deficiency of iText(Sharp) or am I missing something? 回答1: the

Check if certain character is supported by UIFont

北城余情 提交于 2019-12-24 05:27:13
问题 I know how to get the array of all fonts in iOS. Now I need to check if certain font support Cyrillic characters (Ukrainian alphabet). 回答1: I think you can check font for Cyrillic characters using this function: CTFontGetGlyphsForCharacters If it returns False the font is improper. 来源: https://stackoverflow.com/questions/19622219/check-if-certain-character-is-supported-by-uifont

Fonts not fitting properly in UILabel - Ascender or Descender cropped

纵饮孤独 提交于 2019-12-24 05:14:12
问题 I've done extensive searching/reading/testing and cannot find a solution to this problem. I've tried since iOS 4.3 and it's still not resolved in iOS7. The problem is this: Fonts at large sizes can have their Ascenders or Descenders cropped in a UILabel. Here's a screenshot directly from the Xcode 5.1 UI (no code at all!) showing the problem - font size 300 points: As you can see, even a simple font like Helvetica Neue (bold or not) has it's Descender cropped. (You're seeing UIViewController

email.retr retrieves strange =20 characters when the email body has chinese characters in it

。_饼干妹妹 提交于 2019-12-24 04:59:28
问题 self.logger.info(msg) popinstance=poplib.POP3(self.account[0]) self.logger.info(popinstance.getwelcome()) popinstance.user(self.account[1]) popinstance.pass_(self.account[2]) try: (numMsgs, totalSize)=popinstance.stat() self.logger.info("POP contains " + str(numMsgs) + " emails") for thisNum in xrange(1, numMsgs + 1): try: (server_msg, body, octets)=popinstance.retr(thisNum) except: self.logger.error("Could not download email") raise text="\n".join(body) mesg=StringIO.StringIO(text) msg

Problem using font with imagettftext

拜拜、爱过 提交于 2019-12-24 04:44:09
问题 this is the error message i get when I change the environment of an effective website: Warning: imagettftext() [function.imagettftext]: Could not find/open font First I was thinking it cames from a lack of rights on the files, but it doesn't, I check the path and set all the files in 777... Then I check GD, and it looks like it is installed : GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.3.5 GIF Read