Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'plenty': 0.07; 'pixels': 0.09; 'cc:addr:python-list': 0.11; 'assume': 0.14; "wouldn't": 0.14; '65536': 0.16; 'algorithmic': 0.16; 'at,': 0.16; 'forty': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'normal,': 0.16; 'require.': 0.16; 'subject:unicode': 0.16; 'unlikely': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'pre': 0.24; 'unicode': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'room': 0.29; 'message- id:@mail.gmail.com': 0.30; '(which': 0.31; 'gives': 0.31; 'font': 0.31; 'running': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'that,': 0.38; 'enough': 0.39; 'either': 0.39; 'space': 0.40; 'days': 0.60; 'even': 0.60; 'most': 0.60; "you're": 0.61; '30,': 0.65; 'mar': 0.68; 'bitmap': 0.84; 'fonts': 0.84; "it'd": 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=nINZ1dcJAiyL5TDPfAOqRKNQ2f7W/Zos/61xun3h4kw=; b=COi8LpQzzdeMXHdamOH1/6ztQ+puV5D8DefmHWGQoBcfkB6PjvvuqqaGckOSM9GyIC 1MHdPzoaPtzM5kHXzMckQsCsePCO74b7TSDjjrRDGF8dQToMkKdhzabS2ABmo+7roJWl tT6VK7kGh9gwUJJCLbcfU1DvKjhc8pG0Ml1ci1j1EFTu2uG9LZZT5FsxoVWzF6oNNTWI YwHp80OHJ7GpQ4wyisoixX5KW6YHRNlgRVfJO01ExloJCRgSXz1/UFSumSfIJJ26HmFc JjOoGwhTnbnaeXsIYabs9EOQNeN28lek4XQENcGLHRy1fIVEzsLFv9TcRJWxKPX5jhT4 L9gw== MIME-Version: 1.0 X-Received: by 10.68.202.230 with SMTP id kl6mr16283178pbc.55.1396130517957; Sat, 29 Mar 2014 15:01:57 -0700 (PDT) In-Reply-To: <6d2ej9hve7v7m3jfbre1jn9v1loacfr8lo@4ax.com> References: <5331D902.3030902@gmail.com> <53320793.8070501@stoneleaf.us> <533241C0.8020109@mrabarnett.plus.com> <53329549.1000208@rece.vub.ac.be> <6d2ej9hve7v7m3jfbre1jn9v1loacfr8lo@4ax.com> Date: Sun, 30 Mar 2014 09:01:57 +1100 Subject: Re: unicode as valid naming symbols From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396130521 news.xs4all.nl 2925 [2001:888:2000:d::a6]:51784 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69349 On Sun, Mar 30, 2014 at 5:11 AM, Dennis Lee Bieber wrote: > Considering that a 5x8 bitmap font (which is unlikely to even have > enough pixels to produce even 65536 unique glyphs) would take 5.6MB for > your (17*65536), I wouldn't want to see what an algorithmic description > would require. > > Looking at some of my collection of fonts, TTF and some PS, seem to be > running around 100kB per font, and those fonts likely have around 128-192 > glyphs. > > For 1114112 glyphs (17*65536) at, say 164 glyphs pre 100kB gives 680MB > per FONT. Assume the standards: normal, bold, italic, bold-italic -- one is > now up to 2.7GB per typeface. 5.4GB to support just one serif and one sans > serif typeface. Most fonts these days are vector, not bitmap, but a 5x8 bitmap has forty pixels, any of which can be either on or off - that gives roughly twice as much data space as the 21-bit Unicode spec. Plenty of room for 17*65536 unique glyphs. But you're right that it'd then take ~5-6MB to store that, minimum. ChrisA