Grow your CSS skills. Land your dream job.

[Solved] CSS and OCRA font

  • # October 29, 2009 at 2:40 pm

    Hi,
    I installed OCRA font on my server. I have a Windows XP machine.

    After installing the font, the font is properly displayed in MS Word and other document editors as OCRA.

    But when I use the font on my web-page, it does not recognize it.

    I am using the following code in my <head> section of HTML.

    Code:

    I am not worried whether client system has this font or not, as I am converting this HTML into a PDF on my server using ABCPDF tool, and then sending this PDF to client.

    Please advise why my HTML code is not able to recognize this OCRA font. Is there any other way I can achieve this.
    Thanks,
    Pawan

    # October 29, 2009 at 3:13 pm

    First, do you mean OCR-A?

    Secondly, the name of one font does not constitute a family.

    Code:

    Lastly, what do you mean you have installed it on your server? Do you mean your pc?

    # October 29, 2009 at 3:54 pm

    when specifying a font by name, you should put it in quotes. see if that helps.

    # October 29, 2009 at 9:43 pm
    "apostrophe" wrote:
    First, do you mean OCR-A?

    Secondly, the name of one font does not constitute a family.

    Code:

    Lastly, what do you mean you have installed it on your server? Do you mean your pc?

    Yes, its OCR-A. And by ‘installed on the server’ I meant, the PC where this HTML will be generated.

    I will try by using OCR-A and let you know. I was using OCRA as this was the name which was displayed in MS Word and other document editors.

    Thanks for the reply. Will let you know if this helps.
    Pawan

    # October 30, 2009 at 12:35 am
    "ppuniversal" wrote:
    "apostrophe" wrote:
    First, do you mean OCR-A?

    Secondly, the name of one font does not constitute a family.

    Code:

    Lastly, what do you mean you have installed it on your server? Do you mean your pc?

    Yes, its OCR-A. And by ‘installed on the server’ I meant, the PC where this HTML will be generated.

    I will try by using OCR-A and let you know. I was using OCRA as this was the name which was displayed in MS Word and other document editors.

    Thanks for the reply. Will let you know if this helps.
    Pawan

    I tried with OCR-A, monospace and it worked !
    Thanks a lot again.
    Pawan

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".