From john Culleton Sun Nov 6 15:48:51 2011 From: john Culleton To: inkscape-user@lists.inkscape.org Subject: [Inkscape-user] Embedding fonts in web svg documents. Date: Sun, 06 Nov 2011 10:48:48 -0500 Message-ID: <20111106104848.5a8502bf@...2886...> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5839769493598358690==" --===============5839769493598358690== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit In most software (e.g., Scribus, TeX) a font can be embedded in the output document, thus preventing font substitution in a viewer. In inkscape one can simply outline the text, but that makes the text not readable by a web crawler. Is there a way to actually embed a font in an Inkscape svg document intended for web use? -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html --===============5839769493598358690==-- From Jarek Foksa Tue Nov 8 04:26:28 2011 From: Jarek Foksa To: inkscape-user@lists.inkscape.org Subject: Re: [Inkscape-user] Embedding fonts in web svg documents. Date: Tue, 08 Nov 2011 04:27:13 +0100 Message-ID: In-Reply-To: <20111106104848.5a8502bf@...2886...> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3000209900035107089==" --===============3000209900035107089== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Here is how you can embed fonts in SVG documents: (replace with actuall base64-encoded font data): This technique is already used in Inkscape for embedding PNG images, it should be very easy to implement a plugin that allows for automatic font embedding as well. On Sun, Nov 6, 2011 at 4:48 PM, john Culleton wrote: > In most software (e.g., Scribus, TeX) a font can be embedded in the > output document, thus preventing font substitution in a viewer. > In inkscape one can simply outline the text, but that makes the > text not readable by a web crawler. > > Is there a way to actually embed a font in an Inkscape svg > document intended for web use? > > -- > John Culleton > Free list of books for self-publishers: > http://wexfordpress.net/shortlist.html > > "Create Book Covers with Scribus" > http://www.booklocker.com/books/4055.html > > ---------------------------------------------------------------------------= --- > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Inkscape-user mailing list > Inkscape-user(a)lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/inkscape-user > --===============3000209900035107089==-- From john Culleton Fri Nov 11 15:40:44 2011 From: john Culleton To: inkscape-user@lists.inkscape.org Subject: Re: [Inkscape-user] Embedding fonts in web svg documents. Date: Fri, 11 Nov 2011 10:41:11 -0500 Message-ID: <20111111104111.6db6c40f@...2886...> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0172269876016005200==" --===============0172269876016005200== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, 8 Nov 2011 04:27:13 +0100 Jarek Foksa wrote: > Here is how you can embed fonts in SVG documents: (replace with > actuall base64-encoded font data): >=20 > >=20 > This technique is already used in Inkscape for embedding PNG images, > it should be very easy to implement a plugin that allows for automatic > font embedding as well. I was not aware of the WOFF font effort! Looks interesting. I am studying this web page and its children: http://people.mozilla.com/~jkew/woff/ I have a 32 bit processor. Can I still use base64 fonts? Or are the two not = related?=20 --=20 John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html --===============0172269876016005200==-- From Matt Hines Fri Nov 11 17:03:33 2011 From: Matt Hines To: inkscape-user@lists.inkscape.org Subject: Re: [Inkscape-user] Embedding fonts in web svg documents. Date: Fri, 11 Nov 2011 12:03:25 -0500 Message-ID: In-Reply-To: <20111111104111.6db6c40f@...2886...> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6500562525644891804==" --===============6500562525644891804== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable You can also convert the fonts to paths On Nov 11, 2011 10:42 AM, "john Culleton" wrote: > On Tue, 8 Nov 2011 04:27:13 +0100 > Jarek Foksa wrote: > > > Here is how you can embed fonts in SVG documents: (replace with > > actuall base64-encoded font data): > > > > > > > > This technique is already used in Inkscape for embedding PNG images, > > it should be very easy to implement a plugin that allows for automatic > > font embedding as well. > > I was not aware of the WOFF font effort! Looks interesting. I am > studying this web page and its children: > http://people.mozilla.com/~jkew/woff/ > I have a 32 bit processor. Can I still use base64 fonts? Or are the two > not related? > -- > John Culleton > Free list of books for self-publishers: > http://wexfordpress.net/shortlist.html > > "Create Book Covers with Scribus" > http://www.booklocker.com/books/4055.html > > > ---------------------------------------------------------------------------= --- > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Inkscape-user mailing list > Inkscape-user(a)lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/inkscape-user > --===============6500562525644891804== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.htm" MIME-Version: 1.0 PHA+WW91IGNhbiBhbHNvIGNvbnZlcnQgdGhlIGZvbnRzIHRvIHBhdGhzPC9wPgo8ZGl2IGNsYXNz PSJnbWFpbF9xdW90ZSI+T24gTm92IDExLCAyMDExIDEwOjQyIEFNLCAmcXVvdDtqb2huIEN1bGxl dG9uJnF1b3Q7ICZsdDs8YSBocmVmPSJtYWlsdG86Sm9obkAuLi4xNjY4Li4uIj5Kb2huQC4uLjE2 NjguLi48L2E+Jmd0OyB3cm90ZTo8YnIgdHlwZT0iYXR0cmlidXRpb24iPjxibG9ja3F1b3RlIGNs YXNzPSJnbWFpbF9xdW90ZSIgc3R5bGU9Im1hcmdpbjowIDAgMCAuOGV4O2JvcmRlci1sZWZ0OjFw eCAjY2NjIHNvbGlkO3BhZGRpbmctbGVmdDoxZXgiPgpPbiBUdWUsIDggTm92IDIwMTEgMDQ6Mjc6 MTMgKzAxMDA8YnI+CkphcmVrIEZva3NhICZsdDs8YSBocmVmPSJtYWlsdG86amFyZWtALi4uMjcy NS4uLiI+amFyZWtALi4uMjcyNS4uLjwvYT4mZ3Q7IHdyb3RlOjxicj4KPGJyPgomZ3Q7IEhlcmUg aXMgaG93IHlvdSBjYW4gZW1iZWQgZm9udHMgaW4gU1ZHIGRvY3VtZW50czogKHJlcGx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jIyNDkuLi5zb3VyY2Vmb3JnZS5uZXQ8 L2E+PGJyPgo8YSBocmVmPSJodHRwczovL2xpc3RzLnNvdXJjZWZvcmdlLm5ldC9saXN0cy9saXN0 aW5mby9pbmtzY2FwZS11c2VyIiB0YXJnZXQ9Il9ibGFuayI+aHR0cHM6Ly9saXN0cy5zb3VyY2Vm b3JnZS5uZXQvbGlzdHMvbGlzdGluZm8vaW5rc2NhcGUtdXNlcjwvYT48YnI+CjwvYmxvY2txdW90 ZT48L2Rpdj4K --===============6500562525644891804==-- From Mark Crutch Fri Nov 11 17:36:52 2011 From: Mark Crutch To: inkscape-user@lists.inkscape.org Subject: Re: [Inkscape-user] Embedding fonts in web svg documents. Date: Fri, 11 Nov 2011 17:36:44 +0000 Message-ID: In-Reply-To: <20111111104111.6db6c40f@...2886...> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8014682019966316004==" --===============8014682019966316004== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable > I was =C2=A0not aware of the WOFF font effort! Looks interesting. I am > studying this web page and its children: > http://people.mozilla.com/~jkew/woff/ > =C2=A0I have a 32 bit processor. Can I still use base64 fonts? Or are the t= wo not related? Not related. Base64 is just the name of an encoding method which allows binary data to be encoded into an ASCII format - in this case so that it can be embedded directly into an SVG (or HTML) document. Mark --=20 "The Greys" - a humourous sci-fi webcomic Website http://www.peppertop.com/ Facebook http://facebook.com/TheGreysComic Twitter https://twitter.com/TheGreysComic --===============8014682019966316004==-- From john Culleton Fri Nov 11 20:17:10 2011 From: john Culleton To: inkscape-user@lists.inkscape.org Subject: Re: [Inkscape-user] Embedding fonts in web svg documents. Date: Fri, 11 Nov 2011 15:17:40 -0500 Message-ID: <20111111151740.0e4212f7@...2886...> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8963346483899866598==" --===============8963346483899866598== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Fri, 11 Nov 2011 12:03:25 -0500 Matt Hines wrote: > You can also convert the fonts to paths Yes, but then I lose the ability of web browsers to read the text. One of the advantages of the svg web page is that one can do fancy stuff and still have the text readable and indexable. -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html --===============8963346483899866598==-- From Chris Lilley Tue Nov 22 15:34:59 2011 From: Chris Lilley To: inkscape-user@lists.inkscape.org Subject: Re: [Inkscape-user] Embedding fonts in web svg documents. Date: Tue, 22 Nov 2011 15:52:36 +0100 Message-ID: <1338479289.20111122155236@...214...> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8564849906113940175==" --===============8564849906113940175== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tuesday, November 8, 2011, 4:27:13 AM, Jarek wrote: JF> Here is how you can embed fonts in SVG documents: (replace with JF> actuall base64-encoded font data): JF> Note that the media type for woff is application/font-woff http://www.w3.org/TR/WOFF/#appendix-b There is not currently a font/* top level type. It would be great if there we= re; and it may yet happen. But that is the current situation. --=20 Chris Lilley Technical Director, Interaction Domain =20 W3C Graphics Activity Lead, Fonts Activity Lead Co-Chair, W3C Hypertext CG Member, CSS, WebFonts, SVG Working Groups --===============8564849906113940175==--