From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 15:55:14 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50C65106566B for ; Tue, 6 Mar 2012 15:55:14 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id DB5D58FC13 for ; Tue, 6 Mar 2012 15:55:13 +0000 (UTC) Received: by ghrr20 with SMTP id r20so2620279ghr.13 for ; Tue, 06 Mar 2012 07:55:13 -0800 (PST) Received-SPF: pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.101.20.1 as permitted sender) client-ip=10.101.20.1; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.101.20.1 as permitted sender) smtp.mail=bfalk_bsd@brandonfa.lk; dkim=pass header.i=bfalk_bsd@brandonfa.lk Received: from mr.google.com ([10.101.20.1]) by 10.101.20.1 with SMTP id x1mr10785743ani.36.1331049313256 (num_hops = 1); Tue, 06 Mar 2012 07:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=x03fUebdKu80Mo1S3MiIT2IcyniSSoXGVL5S+aQ6Iks=; b=lNjrwjUE2GGbzV/hGXy/pqMJdfwtzNnjoCzQzlylZvgubyl2g9E5Yn8MjWt9vyY9uA IGSPLBWEkb84B0RR1h3SC2ifrvPCa/FgBvqsUrr+MDTDt0QrIyulIZspTQpCaL1BUxMT xu74z5zAQApbipIW25IYSzDj2FurYOqjqjYyI= Received: by 10.101.20.1 with SMTP id x1mr8559645ani.36.1331049313104; Tue, 06 Mar 2012 07:55:13 -0800 (PST) Received: from [192.168.42.146] (wsip-184-183-177-134.dc.dc.cox.net. [184.183.177.134]) by mx.google.com with ESMTPS id b4sm30934204anb.22.2012.03.06.07.55.12 (version=SSLv3 cipher=OTHER); Tue, 06 Mar 2012 07:55:12 -0800 (PST) Message-ID: <4F56335E.9080802@brandonfa.lk> Date: Tue, 06 Mar 2012 10:55:10 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Ian Lepore References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> <4F562C38.4010203@brandonfa.lk> <1331048954.32194.5.camel@revolution.hippie.lan> In-Reply-To: <1331048954.32194.5.camel@revolution.hippie.lan> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnGQ3g1SYFJpu2bFYCV7zI7Qr5Hck+GvwMWfpiPBNoQR7z4KYrEQyHZreS0GBsq+FZ1DlQ5 Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 15:55:14 -0000 On 3/6/2012 10:49 AM, Ian Lepore wrote: > > With that model and your statement that the driver should support only > primitive functions to draw lines and dots, that leaves the non-trivial > problem of font rendering to the app. Given your original goal, font > rendering is pretty much the bulk of what you want to do, is the app > layer the right place for it? > > -- Ian > > I'd plan to have it do more than just lines and dots. Pretty much anything you'd need to set up a basic interface with text, boxes, maybe circles. Just an API similar to OpenGL for 2d graphics minus shading and lighting. Think of anything you'd need for making simple 2d apps, and I'd throw it in. I completely understand the concept of having the app do as little of the graphics processing as possible. I'm not sure why I didn't mention the ability to draw fonts in the previous email. Think of a mix of ncurses simplicity for text-only apps, but with a twist of support for primitive drawing capabilities (line and dots [text drawing is just implied]). -Brandon