0

ı use "roboto" and "san-serif" ,normal text "A.Ş" error text --> enter image description here

qobayishi
  • 35
  • 8
  • show your code please – לבני מלכה Nov 21 '18 at 12:09
  • you need to look at the cahracter set of your font - it probably doesn't have the one that appears wrong and therefore a replacement is being used – Pete Nov 21 '18 at 12:11
  • this char exist in turkish languge and it looks like roboto support it:https://www.blogarti.com/turkce-karakter-uyumlu-en-iyi-google-webfontlar.html – לבני מלכה Nov 21 '18 at 12:12
  • 2
    @לבנימלכה OP may not have downloaded the turkish package though - they would need to check their charset - it's impossible from the information provided to tell what the problem is – Pete Nov 21 '18 at 12:13
  • @Pete see my answer it looks like it works for me – לבני מלכה Nov 21 '18 at 12:25
  • 2
    @לבנימלכה Is OP using googleapi for their fonts though - again we would need to see how OP is adding their font face - they obviously don't have that character otherwise it would render properly – Pete Nov 21 '18 at 12:26

2 Answers2

2

It's because your font doesn't have that character (Ş), so it uses the default font that has it. And if san-serif isn't a typo here, you should change it to sans-serif.

  • if it turkish so `roboto` has this char:https://www.blogarti.com/turkce-karakter-uyumlu-en-iyi-google-webfontlar.html – לבני מלכה Nov 21 '18 at 12:11
  • 1
    I know that Roboto is multilingual, but I wrote that _his_ font doesn't have it. To use multiple charsets in this font if you are importing from Google Fonts, you must choose the right language package when importing, basically add the `subset=latin-ext` as another parameter to the link (I don't know really know if it is in the latin extended subset) – Jack Ashton Nov 21 '18 at 12:21
  • Well, it wasn't my question tho, and I don't have that problem – Jack Ashton Nov 21 '18 at 12:33
0

Use fonts from googleapis and it will work

   body {
      font-family: 'Roboto', sans-serif;
      font-size: 48px;
      font-weight: bold;
    }
 <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
 
 <p>A.Ş</p>
לבני מלכה
  • 15,925
  • 2
  • 23
  • 47