can anyone help me (font sizes) - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: QBasic (http://qbasicnews.com/newforum/forum-4.html) +--- Forum: QB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-11.html) +--- Thread: can anyone help me (font sizes) (/thread-9084.html) |
can anyone help me (font sizes) - staz - 03-28-2006 hi i am doing a project for as level computing in quick basic and for my title screen i want the text to be bigger is there any way of changing the font size. can anyone help me (font sizes) - Dio - 03-28-2006 make your own can anyone help me (font sizes) - staz - 03-28-2006 and how do i do that in quickbasic can anyone help me (font sizes) - Agamemnus - 03-28-2006 PSET, LINE, CIRCLE... There are two ways of doing this, circa early 1990s: 1) A function that outputs your characters with line statements tied to a SELECT CASE. 2) A function that copies the regular characters to memory *you know, the one that tells you the color at a particular point..) and then outputs them back using PSET or LINE statements larger than they were before.. can anyone help me (font sizes) - Ralph - 04-10-2006 There has always been a third way, using the DRAW statement. I made my first DRAW characters way back in 1980 on the Color computer. I have since redone it in QuickBASIC 4.5. Works great, especially since I can change scales very easily, to draw different sizes. For instance, using the equivalent of 5-points high, with a scale (multiplier) of 1, I can easily change the scale to 2, or 3, or 4, thus getting letters of 5, 10, 15 or 20 points high, and the width is also 1, 2, 3 or 4 times. can anyone help me (font sizes) - axipher - 04-10-2006 Could I maybe use this DRAW routine? With proper credit of course. can anyone help me (font sizes) - Ralph - 04-11-2006 axipher: Here it is. Please note that it isn't a "finished" product, in that the user must know what is going on. For instance, right now, it is set up for TEST. To not use TEST, one must remark out the 6th line shown. Then, it is set up for SCREEN 13, at present, but you can change it to SCREEN 12 or any other screen you wish, all by altering the program slightly. Also, the present size is selected as SIZE = 3 in the 4th line, so, for any other size, you have to change the value in the program. Also, the starting coordinates must be selected, according to your needs. The default I have selected is x = 1, y = 10. One mor thing. I have only furnished the 26 upper case letters. For any other symbol, you will have to add more characters to the present ones. If anyone has a problem doing so, post here, and you will receive an answer. By my saying that it is not a "finished" program, I mean that it is not a program that you run, and that it asks you what size you want, what screen you want, etc, even though it wouln't take much to add those features, which I leave to who ever wants to use this code, which is free and public, as is all code here published. Code: 'LETTERS using the DRAW command can anyone help me (font sizes) - axipher - 04-11-2006 Pretty nice. I may work on this in spare time for thicker letters and the full alphabet. can anyone help me (font sizes) - Ralph - 04-11-2006 My letters were formed using a 6-high by 4-wide pattern, to get decent-looking letters. A 5x5 pattern es also feasable, but not as good. And, our friend, Antoni Gual, posted a program that uses Screen 13 and draws a 5-high by 4-wide font! You can find it posted by Antoni, here: http://forum.qbasicnews.com/viewtopic.php?t=10587 |