Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Rubber Stamp Issue

Last post 06 Jan 2008, 7:52 AM by Glenn. 1 replies.
Sort Posts: Previous Next
  •  02 Jan 2008, 4:08 AM 12922

    Rubber Stamp Issue

    As part of an update project I am currently working on an interface between an existing system using bespoke annotations, and the new Atalasoft components.

    Our existing system used rubber-stamps which were sized based on the size of the font (i.e. If the font was set to 20 point, then the size would be 20 point at 100% zoom).

    Under Atalasoft we have been able to implement a similar system, but with one annoying problem which I'm hoping you might be able to help with. If you type a caption for a rubber stamp in lower case which has descender characters in it (p, q, j, g, or y) then the font size changes when compared with a font that is purely upper case. I can understand why this will be happening but do you know of any way to work around the issue? Ideally we would like to say that if we slap a rubber stamp annotation on at 20 point, it comes out at 20 point regardless of case.

    Any suggestions would be appreciated.

    Thanks

    Andrew.

  •  06 Jan 2008, 7:52 AM 12932 in reply to 12922

    Re: Rubber Stamp Issue

    Our RubberStampRenderingEngine class is what calculates the rendered font size.  It's written in such a way that the font size you provide doesn't matter because we want to fill the annotation area with the text.

    You would have to write your own renderer to do what you want.
     


    Glenn Chittenden Jr.
    Atalasoft Development Team
View as RSS news feed in XML