Replace one font with another in Chrome?

So, in context, most of the internet uses the alias Gulim as their Korean font of choice - see the comparison between this and the anti-aliased / slanted Nanum Gothic here:

Unhinted gulim vs hinted nanumgothic

The first one is rather painful to watch, so I would like to replace the used instances of Gulim with Nanum Gothic (via JS via custom scripts, CSS via stylish or any other method would be effective). Things I've tried:

  • Chrome extension Advanced Font Settings to change the default Korean font - Most sites that use Korean text ignore it.
  • Replacing fonts directly with * from stylish just overwrites all fonts.
  • Font family descriptors with the specified unicode range (still overwrites all fonts, so no backups for material outside of Korean code points)
  • JS overrides font family on load - most pages do not explicitly mention Gulim or any default Korean font for some reason (and this is probably the reason for the first attempt at extending font extensions).

Enabling font anti-aliasing on Gulim would be acceptable, but not ideal. Since the massive shift in the use of Korean font variants is beyond my skill set, any suggestions as to how I can address this from a consumer perspective?

+3


source to share


1 answer


When I need to actually change the font with the new one on the hard path in Css:



@font-face {
   font-family: 'MyFontName';
   font-weight: normal;
   font-style: normal;
   src: url("./myFont.file"); /*this can be an url*/
}
body{
   font-family: 'MyFontName';
}

      

+1


source







All Articles