우분투에서 웹 사이트를 운영 중이며 UI 부분으로 끝났습니다. 우분투에서 모든 것이 원활하게 작동하지만 윈도우로 전환하면 모든 글꼴이 왜곡됩니다. 다음 코드를 시도했습니다Windows에서 글꼴이 왜곡되어 보입니다.
@font-face {
font-family: 'garrisonsb';
src: url('../fonts/garrisons-bold.eot');
src: url('../fonts/garrisons-bold.eot?#iefix') format('embedded-opentype'),
url('../fonts/garrisons-bold.woff') format('woff'),
url('../fonts/garrisons-bold.ttf') format('truetype'),
url('../fonts/garrisons-bold.svg#garrison_sansbold') format('svg');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'garrisons';
src: url('../fonts/garrisons-regular.eot');
src: url('../fonts/garrisons-regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/garrisons-regular.woff') format('woff'),
url('../fonts/garrisons-regular.ttf') format('truetype'),
url('../fonts/garrisons-regular.svg#garrison_sansregular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'rupee';
src: url('../fonts/Rupee.eot');
src: url('../fonts/Rupee.eot?#iefix') format('embedded-opentype'),
url('../fonts/Rupee.woff') format('woff'),
url('../fonts/Rupee.ttf') format('truetype'),
url('../fonts/Rupee.svg#rupeeregular') format('svg');
font-weight: normal;
font-style: normal;
}
지정된 코드가 squirrel-generator를 사용하여 생성되었습니다. 나는 'always'로 설정된 font-smooth 속성과 anti-aliased로 설정된 -webkit-font-smoothing을 사용하여 시도했으며 font-weight도 정규 용으로 700, 'normal'대신 굵은 글꼴로 900으로 지정되었습니다.
최적의 솔루션을 제안 해주십시오 ......
Google 크롬에 대해 이야기하고 있습니까? –
문제는 모든 브라우저에서 발생합니다 .. – PRASANTH
글꼴과 관련된 시각적 인 문제이므로 발생한 문제에 대한 그림을 포함시켜야합니다. – Axel