Pregunta simple: ¿Por qué estas 2 fuentes se ven diferentes en Photoshop y en el sitio web? La fuente se ve diferente en photoshop y en el sitio web
En esta imagen, este primer texto es del código html, la segunda es una imagen de photoshop. La misma fuente, el mismo tamaño - 30. Pero esto primero parece más "audaz" que el segundo. ¿Por qué? Quiero tener una fuente idéntica a como está en photoshop (segunda imagen).
Aquí código CSS:
@font-face {
font-family: "SegoeWP";
src: url("fonts/play/SegoeWP.eot");
src: url("fonts/play/SegoeWP.eot?#iefix")
format("embedded-opentype"),
url("fonts/play/SegoeWP.woff") format("woff"),
url("fonts/play/SegoeWP.ttf") format("truetype"),
url("fonts/play/SegoeWP.svg#PlayRegular") format("svg");
font-weight: lighter;
}
#strona {
width: 1120px;
margin-left: auto;
margin-right: auto;
}
#Section1
{
font-family: "SegoeWP", Tahoma, Arial, sans-serif;
font-size: 30px;
}
header, footer, article, section, hgroup, nav, figure {
display: block;
}
body {
font-family: "SegoeWP", Tahoma, Arial, sans-serif;
background-image:url('background.jpg');
background-repeat: no-repeat;
background-position: top center;
color: #ffffff;
}
y código html.
<section id="Section1"> { mywebsite.NET } </section>
<img src="mojeportfolio.png" />
¿Alguna idea? ¡Saludos!
MÁS
he hallado: que tengo 3 tipos de fuentes SegoeWP en carpeta. "SegoeWP", "SegoeWP-Light", "SegoeWP-Semibold". "SegoeWP" parece un poco "audaz", pero este "SegoeWP-Light" es perfecto y se ve igual que en Photoshop cuando hago doble clic en él. ¿Cómo puedo usarlo en mi sitio web? Cuando cambio esta parte -> url ("fonts/play/SegoeWP-Light. *"), Nada cambia en el sitio web. ¿Qué está mal?
Está especificando varios tipos de archivos de fuentes, ¿cómo sabe cuál se está utilizando? Quizás no coincidan. –
solo hay SegoeWP.ttf en este momento – whoah
@whoah Quizás no veas la imagen en tamaño real en photoshop ... No pueden ser diferentes ... cuando el tamaño es 30px, DEBE SER 30px DONDEQUIERA. Intenta presionar ctrl + 0 en ps .. para ver en tamaño real. –