Results 1 to 27 of 27

Thread: Adjust font size

Threaded View

  1. #20
    Fanatic Member
    Join Date
    Feb 2017
    Posts
    958

    Re: Adjust font size

    fontsize has to do with the font selected
    Yes

    I thought TrueFonts where scalable?
    They are.

    Been awhile since I messed with fonts, but if you enum a particular font (other than true type) you will see size jumps depending on the font. This is because no glyph (font) exists (was created) for that font at that size.
    For True Type, if I recall correctly -- hopefully someone will confirm or refute -- while scalable, the user still must create the font at that size.
    So M$ gives you a set of stock sizes, which is what you get when you enum a Type Type Font. However is one wants other than a stock size you must create it. It is Not a automatic thing when you enum that it will show up. So when you set TF Arial 8.5, it will be available for use. If you do an enum at that point (after setting the size) not sure whether it in fact will show up.

    Will try and confirm today to make sure this is correct.
    Here's one you can try out:

    http://vbnet.mvps.org/index.html?cod...fontsample.htm
    Last edited by vb6forever; Nov 30th, 2020 at 10:58 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width