Questions tagged as 'font'

3
answers

How and what is the best way to use CSS fonts?

You can only view a font on a website if that font is installed or came in the operating system or browser of the computer. I've been searching and found a few different font types that can be used in CSS . With so many types of...
asked by 22.03.2017 / 14:56
1
answer

Is there any way to calculate a pattern of extra space from a source? [duplicate]

I'm trying to make a layout as "pixel perfect" as possible, but I've always come across this problem, using large fonts, there is a space above and below the font, like a padding / margin. I searched the subject, trying to relate to line-heigh...
asked by 16.01.2017 / 20:22
1
answer

How to add an external source in an SVG?

I have a logo that I made in SVG , in file .svg external, which uses a text with the name of the company, whose source is Open Sans Light . On my machine it works normally, due to the fact that I have the font installed....
asked by 22.11.2017 / 13:38
1
answer

How to change font properties in javascript

I need to change the font format and play over the icon as picture. Text is being displayed by: label: beach [7] for (var i = 0; i < locations.length; i++) { var beach = locations[i]; var myLatLng = new google.maps.LatLng(beach[5]...
asked by 01.09.2017 / 03:26
1
answer

Will other platform users see the sources on my site?

The question is simple: I have a website, its default font is Segoe UI , and Segoe UI Light , the site uses only those two. In Windows, the site appeared correctly and without problems, I now have doubts that if they enter through a Chrome (fo...
asked by 10.12.2015 / 23:03
1
answer

Property font-stretch

Today I came across a very intriguing CSS property that is font-stretch . In Google Chrome, typically when we inspect an element that has multiple properties together in a single property (for example, margin:► 0; font:► 14px sans-se...
asked by 11.10.2015 / 17:05
2
answers

Tagging photo with problem

I've made a code that labels a jpg , by typing the client's site address in the image footer. The Problem: Some photos the text is coming giant as if it were source 72px instead of source 12px Correct Photo Link Link wrong PH...
asked by 14.10.2014 / 21:23
1
answer

Font Awesome appears as "blocks" in nginx under FreeBSD 10.1 [closed]

I have a site that I downloaded from CentOS to FreeBSD using rsync + mysqldump. In CentOS + Apache it worked normal on FreeBSD + nginx gave this error: Ibelieveitisrelatedtothiscodethat"converts" the \ f086 into an icon. #primary_nav #nav_app_...
asked by 16.04.2015 / 05:02
1
answer

Use 2 fonts in a sentence

I have a site that the client asked me to use one font type for some things and another type for others. And he asked that the mail be all with a typeface (type1) but this type does not have @ so he asked that the mail was all with type1 but @ w...
asked by 14.07.2015 / 16:56
1
answer

How to change the default font of Swing components?

I would like to know if I have to change the default of the labels fonts and Swing buttons, if possible, of the general design. All the labels that I create I have to keep changing the font to one that is bigger a bit and another style, th...
asked by 18.10.2015 / 04:03