From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8542 invoked by alias); 6 Jul 2014 15:08:44 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 8500 invoked by uid 89); 6 Jul 2014 15:08:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: smtpout10.bt.lon5.cpcloud.co.uk Received: from smtpout10.bt.lon5.cpcloud.co.uk (HELO smtpout10.bt.lon5.cpcloud.co.uk) (65.20.0.130) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 06 Jul 2014 15:08:35 +0000 X-CTCH-RefID: str=0001.0A090206.53B96670.00B1,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Junkmail-Premium-Raw: score=8/97,refid=2.7.2:2014.7.6.101819:17:8.317,ip=,rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __HAS_REPLYTO, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __TO_NO_NAME, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __URI_NO_WWW, __CP_URI_IN_BODY, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, REPLYTO_FROM_DIFF_ADDY, BODY_SIZE_7000_LESS X-CTCH-Spam: Unknown Received: from [192.168.1.93] (86.179.19.103) by smtpout10.bt.lon5.cpcloud.co.uk (8.6.100.99.10223) (authenticated as jonturney@btinternet.com) id 53B86139000472AF; Sun, 6 Jul 2014 16:08:32 +0100 Message-ID: <53B9666E.5030003@dronecode.org.uk> Date: Sun, 06 Jul 2014 15:08:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: mikedep333@gmail.com Subject: Re: How do fonts work when you have no font packages installed? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-07/txt/msg00003.txt.bz2 On 04/07/2014 08:16, Michael DePaulo wrote: > I just installed cygwin64 with only the base packages, "xorg-server", > and its dependencies installed. > > The FAQ (2014-04-29) states: > 3.5. My favourite font has gone! The font Emacs uses is just boxes > Only minimal fonts will be installed after the upgrade. > > However, on my system, /usr/share/fonts/ is empty. The X server has a version of 6x13 fixed font built-in, to allow it and (some) apps which use core fonts, to operate in this situation. If some local X clients were installed, this would (hopefully) cause any X core fonts they require to be installed. > Yet I am able to XDMCP into a GNOME2 CentOS 6.5 machine and all the > fonts show up fine with the handful of apps I tested. > > Can someone explain how text is being rendered? Is Cygwin Xwin using > fonts from the Windows OS? While this is technically possible by adding the Windows font directory to the X server font path, that is not done. (Although those fonts are made available to local clients by telling fontconfig to look in the Windows font directory, although this is not technically perfect as there isn't any mechanism to tell fontconfig to update it's cache when Windows fonts are added or removed) > Are the fonts being rendered client-side via XRender? Yes, if the apps you tested are modern, client-side fonts are almost certainly being used. [1] explains this fairly well: "The first X11 clients used the core X11 protocol to draw text, as that was the only choice. [...] Because GTK+ and Qt, the toolkits behind several applications including all GNOME and KDE applications, switched to Xft, many programs on most desktops [...] now use Xft." Core fonts are a legacy feature. If you want to use an older remote application which requires a particular core font, you will have to install it. [1] http://en.wikibooks.org/wiki/Guide_to_X11/Fonts -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/