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 11:39:45 +0200 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 14 Aug 2023 09:39:45 -0000 (UTC) Injection-Info: dont-email.me; posting-host="cc824e519d9fa1c5f42fa6e653ec1016"; logging-data="2356608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rbABAJt5wHI3neDjQDJTv96PNnc1r9UE=" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cancel-Lock: sha1:qUEBhzKbFXehnuvtyVXDdw7y8cw= In-Reply-To: Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:65519 List-Id: On 2023-08-14 11:25, Kevin Chadwick wrote: >> Doing something like that for bitmap fonts is just as simple. The only >> minor issue is creating an index map: code point to the bitmap image >> name (array), because a flat array would blow out. > > What does blow out mean in this context? If you tried: type Font_Type is array (Code_Point) of Bitmap_Ptr; The range of code points is 0..16#10FFFF#. E.g. when I implemented Ada.Strings.Maps for Unicode, I could not use such arrays either as the native ASCII implementation does. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de