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!
Itty bitty FitTextBox |
Post Reply |
Author | |
fargburger
Beginner Joined: 03 Apr 12 Location: Wisconsin Status: Offline Points: 13 |
Post Options
Thanks(0)
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store