Questions tagged [cleartype]

ClearType is Microsoft's implementation of subpixel rendering technology in rendering text in a font system.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
62 views

.net Core 3.1 WPF Switching Cleartype off?

In .NET Framework WPF there was an option to render Text in Display mode, which means beautiful pixels without Cleartype artifacts that you would get when randering with Ideal mode. How can you ...
be_mi's user avatar
  • 541
1 vote
1 answer
4k views

How enable ClearType render with subpixel antialiasing on VSCode on Windows 10?

I'm working with VsCode but i noticed that ClearType was not applied on its fonts. My windows settings has "cleartype" turned on. Check the comparison. How can I enable Cleartype render with ...
Daniel Santos's user avatar
1 vote
0 answers
216 views

Font artifacts with ClearType Switched on

I have an issue where having ClearType enabled in Windows 10 gives them horrible blocky artefacts around some letters - more visible on certain kinds of backgrounds. This one is particularly bad, you ...
gambiting's user avatar
  • 365
1 vote
2 answers
252 views

Bypassing Clear Type on web page

I am trying to mimic the text in the articles on the website desiringgod.org. They use the Merriweather font with a dark grey color for the body text on a white background. When I put the same ...
Matt's user avatar
  • 128
5 votes
0 answers
463 views

JavaFX: Turn off font smoothing

(There are several similar question, but no answer worked) I started experimenting with JavaFX (JDK8) and first thing I noticed is a horrible font smoothing. I'm using Windows 8.1 and disabling font ...
Alex Abdugafarov's user avatar
1 vote
1 answer
337 views

Enable ClearType fonts with the winapi

I'm trying to add ClearType to fonts in the vile editor GUI mode "winvile". I'm not familiar with the code. I searched for all LOGFONT structs and found some in ntwinio.c and w32cmd.c I couldn't ...
ArthurChamz's user avatar
  • 2,039
15 votes
2 answers
3k views

Prevent anti-aliasing (or sub-pixel rendering) of a TrueType font

This is how the .ttf font is rendered: I have created this vector-only TrueType font using FontForge. I want to use this font on applications which require vector-based glyphs, and do not support ...
Nowayz's user avatar
  • 1,868
0 votes
0 answers
466 views

TextOptions.TextRenderingMode vs. Visual.VisualTextRenderingMode

There appear to be two ways to set a TextRenderingMode enumeration value on a WPF Visual. Is there any difference between using the TextOptions.TextRenderingMode attached property (with or without ...
Glenn Slayden's user avatar
5 votes
2 answers
3k views

Icon font rendering inside auto centered div is blurry/crisp based on browser width

i wanted to jump on the icon font train, but was quickly put off by the renderer. When an icon is sitting inside a div that has either percentage width or is automatically centered the icon can be ...
Cream Whipped Airplane's user avatar
0 votes
0 answers
571 views

Enable/Disable CLEARTYPE

I'm using the following code to try to force enable CLEARTYPE option in user32.dll but don't work in representation of image from report text. [DllImport("user32.dll", SetLastError = true)] ...
Sergi Cruz's user avatar
2 votes
1 answer
501 views

Flickering and blurry text

I have an issue with a text. In some custom usercontrols it is flickering every more/less second (probably when rendering) here is a gif: I'm using these render and text options for now which are ...
Kuba Wasilczyk's user avatar
17 votes
1 answer
1k views

What is causing Calibri to lose ClearType between 9 and 14 pt?

What exactly is it that makes GDI+ switch to binary aliasing when using default Microsoft Office font Calibri between 9pt and 14pt with ClearTypeGridFit specified? It's somewhat disconcerting. How ...
jnm2's user avatar
  • 7,998
3 votes
0 answers
249 views

Force ClearType text rendering in a popup

I know that WPF disables ClearType text rendering if it is in doubt whether the background is fully opaque. There's the RenderOptions.ClearTypeHint attached property that can be used to assure WPF ...
ygoe's user avatar
  • 19k
1 vote
0 answers
492 views

How to draw high quality text in 3D with DirectX / SharpDX

My aim is to draw text onto a texture and then having that texture mapped onto a flat surface in 3D space. Is it possible to have font hinting and/or ClearType under these circumstances? It's ok to ...
3dGrabber's user avatar
  • 4,798
1 vote
0 answers
584 views

How to Enable font cleartype in windows with javascript

I am using a client font(Custom web fonts) in a webpage which requires a small setting in controlpanel to be done. We have to select the font clear type in control panel. (As shown in the pic). ...
SwatiG's user avatar
  • 13
0 votes
0 answers
124 views

Windows Fonts: Changing lfQuality in UIDLGLOGFONT within wxWidgets does not work well

i'm trying to change the Font quality of a wxFont object. I use: SetNativeFontInfo("0; -16; 0; 0; 0; 700; 0; 0; 0; 1; 0; 0; 3; 48; Consolas"); to set the Font quality. Internally wxWdigets changes a ...
roari's user avatar
  • 39
2 votes
1 answer
2k views

how do you use Direct2D to render ClearType text on a transparent background?

can anyone tell me why ClearType is picking up the transparency of the background in the simple SharpDX sample below? And how to stop it from doing that. it renders two lines of solid black text into ...
Spongman's user avatar
  • 9,695
0 votes
1 answer
533 views

Why do fonts get pixelated at lower font-sizes?

I'm trying to understand how I can keep my fonts looking as nice as they do at a font-size of 64px when using something such as 36px. I'm currently using Google Fonts' Open Sans. The font looks nice ...
daveomcd's user avatar
  • 6,407
1 vote
1 answer
405 views

ClearType ruins transparency

I have a bitmap which background needs to be replaced with part of another bitmap. Everything works fine until I enable ClearFont on my WindowsXP. In order to explain my problem better, let us label ...
AlwaysLearningNewStuff's user avatar
2 votes
2 answers
124 views

Getting blur text only if the window is not maximized in WPF

I know that there are a lot of questions about this subject but it seems that no one tells why this is happening: Maximized window: unmaxmimized window: This only seems happen when I have the ...
elios264's user avatar
  • 384
1 vote
1 answer
459 views

Browser Font Aliasing Light on Dark vs Dark on Light

Here is a screen grab showing the same face at the same weight as displayed in Chrome 34 on OSX. The only difference is the colour of the text and the colour of the background: And in case that isn't ...
Undistraction's user avatar
3 votes
0 answers
929 views

GDI+ large font size rendering and ClearType

I'm trying to render large size font characters to a bitmap using GDI+ for later offline use (as a bitmap font for drawing text using Direct3D on Windows Phone, to be precise). I would like the font ...
Sunius's user avatar
  • 2,809
0 votes
1 answer
71 views

Can you re-enable ClearType on IE8 after using a filter?

Is there a way to re-enable ClearType after using a filter on Internet Explorer 8? I have used a filter to create a gradient on IE8, and I know already that filters remove ClearType. Now font that is ...
kylealonius's user avatar
0 votes
0 answers
239 views

GDI Rendering outside of a Windows Forms app

I have a class that renders text to an image. It was working fine until I tried to use the Calibri font. Calibri is rendered without any font smoothing. After some research I determined that the ...
gilly3's user avatar
  • 88.6k
2 votes
1 answer
1k views

How to enable cleartype for Sublime Text 2 on Windows 7 Virtual Machine? [closed]

I have a Virtual Machine Windows 7 (using VMWare) with opened Sublime Text 2. Cleartype for the OS is enabled, but i don't see it's effect inside my text editor: How can I fix that?
Nazar's user avatar
  • 1,789
0 votes
1 answer
551 views

WPF text flickering between cleartype and non-cleartype

I have a problem with WPF... it's kinda odd. I recently migrated to using MahApps.Metro for my window and when I'm on my Login Screen it flickers between cleartype and non-cleartype every few seconds ...
David Diaz's user avatar
0 votes
0 answers
104 views

Java cleartype text garbled/corruption [duplicate]

Using java 1.7.0_40 though I've had this issue for quite awhile. In a number of completely different java programs, I've seen this be somewhere in it. If it's there once, it's been there and will be ...
GAdr's user avatar
  • 1
-1 votes
1 answer
318 views

What do the options do on the clear type configuration tool

I am trying to set up clear type for my monitor, it has a bgr layout. I do not understand the settings in the cleartype text tuner. All buttons say "The quickbrown fox..." and ask me to make a ...
ctrl-alt-delor's user avatar
0 votes
1 answer
250 views

Does ClearType font rendering draw the same character exactly the same every time?

I am developing some OCR software for small on-screen fonts. The fonts are rendered in the browser. I notice that they are rendered with ClearType onto the screen and the letters in the words seem to ...
Phil's user avatar
  • 47.4k
1 vote
1 answer
1k views

Drawing RTF to bitmap using EM_FORMATRANGE message produces text with ugly black fragments

I need to draw a RTF text on a custom background. I am using an extended RichTextBox control as described for example here to render RTF itself. This works fine if the graphics is associated with the ...
user1842413's user avatar
0 votes
1 answer
999 views

Terrible fonts on WinXP with ClearType off - Chrome only [closed]

There is a big problem in the following case: User has Windows XP, ClearType turned off, Google Chrome and website is using Google Web Fonts. Fonts look very "jerky" in this case and only in Chrome. ...
marinbgd's user avatar
  • 739
0 votes
0 answers
737 views

Firefox 13 PC and jagged Fonts

On Firefox PC, The font is jagged. Question: Is there a current CSS workaround or accepted solution to this Firefox PC problem? I used fontsquirrel to transform my desktop TTF font into EOT, WOFF, ...
grahama's user avatar
  • 321
7 votes
6 answers
10k views

Blurry text in WPF even with ClearTypeHinting enabled?

I have a grid with this template and styles in WPF/XAML: <Setter Property="TextOptions.TextFormattingMode" Value="Display" /> <Setter Property="RenderOptions.ClearTypeHint" Value="Enabled" /&...
Tower's user avatar
  • 99.7k
3 votes
2 answers
2k views

Big fonts not smooth in firefox on windows

So, i am making a small portfolio site (http://www.cip.ifi.lmu.de/~fritschd/testDebo/), where i have a BIG box with a BIG font. On mac, everything is fine, on windows however, depending on the browser ...
daniel f.'s user avatar
  • 1,431
0 votes
1 answer
176 views

jquery .hide().fadeIn() ie cleartype glitch

I have added this in my js: function customFades() { (function($) { $.fn.fadeIn = function(speed, callback) { return this.animate({opacity: 'show'}, speed, function() { ...
Mackelito's user avatar
  • 4,294
1 vote
0 answers
210 views

Silverlight and ClearType: just won't do

I am desperately trying to improve the visuals of my Silverlight application, but it won't work. No matter what I do, I always get grayscale antialiasing, while I would like to get the standard ...
Palantir's user avatar
  • 23.9k
0 votes
3 answers
488 views

jquery fadeIn/fadeOut ie cleartype glitch

I´m currently trying to add the feature that is discussed here: http://blog.bmn.name/2008/03/jquery-fadeinfadeout-ie-cleartype-glitch/ A glitch in IE7 when fading with the .fadeIn() and .fadeOut() in ...
Mackelito's user avatar
  • 4,294
8 votes
1 answer
1k views

WinRT and software ClearType font rendering

Does WinRT provides an option to fall back to software ClearType font rendering (as Direct2D do via "Direct2D and GDI Interoperability") or we will be stuck with somewhat blurry hardware font anti-...
Dmitry Sychov's user avatar
1 vote
1 answer
2k views

Why System.Drawing + ClearType font have ugly black fragments?

I'm using following C# code to make a picture with a text in it // Create font. Parameter is a global variable Font objFont = new Font(fontname, fontsize, fontstyle, System.Drawing....
5argon's user avatar
  • 3,753
13 votes
6 answers
18k views

Font Smoothing Techniques? text-shadow rendering differently in Chrome 14.0.833.0 or higher

EDIT: We're in Chrome 19 now, and this still isn't fixed. Just a clarification: this happens in Chrome on Windows, not Linux or Mac. I think it has to do with Cleartype. Google, please fix this. I've ...
Thomas Shields's user avatar
4 votes
1 answer
3k views

Why different font rendering with graphics.drawString() and a default JLabel with ClearType?

Why has the displayed GUI different font style/rendering with graphics.drawString() and a default JLabel with activated cleartype? And how can i fix it?
tomkpunkt's user avatar
  • 1,393
1 vote
1 answer
509 views

Disable cleartype

I have code that takes a screenshot and applies very basic OCR (pixel matches characters). Been testing on virtualbox machine and it was working fine. And when I ran it on Windows 7 the code no longer ...
grom's user avatar
  • 15.9k
1 vote
1 answer
4k views

show an element if text input is not empty using jQuery

Ok, so I got the element coded and such. It just bit odd, since if the form is empty a clear button is showing in a form of an image ex: (x) Here is the script, upon page load jQuery focuses on the ...
PT Desu's user avatar
  • 693
13 votes
2 answers
2k views

Why does my font look much better in IE9?

I use font-family: Myriad; font-size: 40px for some text. I can't believe IE displays the font in the best quality! Much better than Opera, Firefox and Chrome. How can it be? How can I make text ...
good_evening's user avatar
  • 21.2k
1 vote
0 answers
127 views

javascript distorts font

I've noticed the font is not displayed clear on my website. It is due to the javascript but I can not find the problem. Does anyone know what is wrong? The border of the font is not straight. Looks ...
Mark Henry's user avatar
  • 2,649
12 votes
8 answers
32k views

Enable/disable ClearType without logging out

I need to enable/disable ClearType (or "Adjust the appearance and performance of Windows > Smooth edges of screen fonts") via cmd (or any script like VBS/JS) or from the registry without ...
Vitaliy's user avatar
  • 359
2 votes
2 answers
718 views

Google web fonts looks ok on Ubuntu 10, weird on Windows XP

I'm having a weird problem with fonts on my website : I'm using Google's Web Font API, and it looks fine in every browser on Ubuntu, but looks weird in every browser on Windows XP, except IE8. I didn'...
Manu's user avatar
  • 4,430
7 votes
1 answer
3k views

Sub-pixel rendering of fonts on the iPad

Sub-pixel font rendering like ClearType dramatically improves font display resolution and improves screen readability. How would I program sub-pixel rendering of a font (in general), and how can this ...
Rebecca Typely's user avatar
16 votes
7 answers
14k views

IE 9 does not use sub-pixel antialiasing under certain conditions

[Original title: IE 9 text renders very poorly; is there a workaround?) IE 9 is rendering the text in my application very poorly. The problem is not in my monitor's Clear Type settings, since IE 9 ...
Jacob's user avatar
  • 77.9k
16 votes
3 answers
26k views

Disable Cleartype (text anti-aliasing) in IE9

It's well documented (e.g. here) that IE9 ignores the OS-wide settings for font smoothing (aka anti-aliasing). Even if font-smoothing and ClearType are disabled in Windows, IE still shows anti-...
Justin Grant's user avatar
  • 45.1k