locked
Anti-aliasing of OCR Text RRS feed

  • Question

  • User-588203678 posted
    Hi
    I have web form label text - A.
    I want to show it as anti-aliasing of OCR text.
    What us the namespace I need to include..and code ..
    Wednesday, September 11, 2019 4:30 AM

All replies

  • User61956409 posted

    Hi guhananth1,

    I have web form label text - A.
    I want to show it as anti-aliasing of OCR text.

    If you'd like to apply font anti aliasing on web page, you can try the following CSS style, please note that it would not supported on all browsers.

    #your_element_id {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    This SO thread discussed similar issue, please refer to it.

    https://stackoverflow.com/questions/17864742/how-to-apply-font-anti-alias-effects-in-css

    Besides, if possible, you can try to use background image with anti aliasing text as the alternative.

    With Regards,

    Fei Han

    Wednesday, September 11, 2019 6:23 AM