From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Unifont static compiled and stack size... Date: Mon, 14 Aug 2023 10:21:00 +0200 Organization: A noiseless patient Spider Message-ID: References: <7304574e-7813-4db2-b70b-6b4921bdc8ffn@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 14 Aug 2023 08:21:00 -0000 (UTC) Injection-Info: dont-email.me; posting-host="cc824e519d9fa1c5f42fa6e653ec1016"; logging-data="2356608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KwKA4MAS57zKck1n0kFkrEBbQWtdBz8k=" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cancel-Lock: sha1:VVIfAl2rUYuTSm4QcnqEG+GrIxw= In-Reply-To: <7304574e-7813-4db2-b70b-6b4921bdc8ffn@googlegroups.com> Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:65515 List-Id: On 2023-08-14 02:29, Micah Waddoups wrote: > GUIs are a real problem for me because they are so sophisticated and automated that I can barely even attempt my own projects or a code base that transfers between graphical, terminal and other operating systems. Transfers what to where? > GTK, GL libraries, and SDL are great and I plan to use at least one of them, but only to render the image buffer and collect input from modern hotplug-able devices. GTK does not render any fonts. It uses other libraries for rendering, depending on the surface e.g. Pango for rendering in Cairo, which is vector graphics surfaces. As for crude bitmap fonts GTK just rely on the target OS back end to render them, e.g. Windows GDI. If you need a bitmap of a system font glyph, you render the text into the memory instead of a device context and take the result. Though I have no idea what and why are you trying to do. > If I can get around to it I might try to support pseudo virtual terminals like GNU Screen does, but just managing application spawns with all their input/output being configurable is likely enough for me right now. Any GUI has a text view widget or equivalent, e.g. GtkTextView in GTK. Most of them support bitmap drawable widgets where you can draw and render bitmap system fonts if you wanted to recreate a text view. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de