Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Itty bitty FitTextBox
  FAQ FAQ  Forum Search   Register Register  Login Login

Itty bitty FitTextBox

 Post Reply Post Reply
Author
Message Reverse Sort Order
fargburger View Drop Down
Beginner
Beginner


Joined: 03 Apr 12
Location: Wisconsin
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote fargburger Quote  Post ReplyReply Direct Link To This Post Topic: Itty bitty FitTextBox
    Posted: 13 Apr 12 at 9:05PM
Strangest thing, if I do a FitTextBox(0,0, 0.0, 5.0, 0.18, 'Some Text', 0) and my font size is 10, I get really really tiny text. 

(actually any box height less than 0.195 or so makes this happen)

It's like QuickPDF can't shrink text down lower than pico-sized.

If I make the font size bigger or smaller it scales properly. 


Here's my work around for now:

        if (FontInfo.FontSize = 10) and
            (Height < 0.2) then
          Height := 0.2;

But I figured I should tell someone.

(using Delphi XE2, QuickPDF 8.1.4 [not the Update 4 version])

*Edited because I thought this was only for Arial, but it's happened on other fonts*


Edited by fargburger - 13 Apr 12 at 9:10PM
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store