Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Side by Side Diff: third_party/hyphen/tbhyphext.sh

Issue 20860003: Remove hyphenation code from Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/hyphen/substrings.pl ('k') | third_party/hyphen/tbhyphext.tex » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2 # tbhyphext.tex hyphenation extension macro converter to hyphenation patterns
3
4 # Libhnj is dual licensed under LGPL and MPL. Boilerplate for both
5 # licenses follows.
6
7 # LibHnj - a library for high quality hyphenation and justification
8 # Copyright (C) 1998 Raph Levien,
9 # (C) 2001 ALTLinux, Moscow (http://www.alt-linux.org),
10 # (C) 2001 Peter Novodvorsky (nidd@cs.msu.su)
11 # (C) 2006, 2007, 2008, 2010 László Németh (nemeth at OOo)
12 #
13 # This library is free software; you can redistribute it and/or
14 # modify it under the terms of the GNU Library General Public
15 # License as published by the Free Software Foundation; either
16 # version 2 of the License, or (at your option) any later version.
17 #
18 # This library is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 # Library General Public License for more details.
22 #
23 # You should have received a copy of the GNU Library General Public
24 # License along with this library; if not, write to the
25 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
26 # Boston, MA 02111-1307 USA.
27
28 # The contents of this file are subject to the Mozilla Public License
29 # Version 1.0 (the "MPL"); you may not use this file except in
30 # compliance with the MPL. You may obtain a copy of the MPL at
31 # http://www.mozilla.org/MPL/
32 #
33 # Software distributed under the MPL is distributed on an "AS IS" basis,
34 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the MPL
35 # for the specific language governing rights and limitations under the
36 # MPL.
37
38 sed -n '/acad-e-my/,/Zeit-schrift/p' |
39 tr A-Z a-z | tr ' ' '\n' | grep -v '^$' |
40 awk '{printf "%c", "."
41 for (i=1; i <= length($1); i++){printf "%c8", substr($1, i, 1)}
42 print "."}' | sed 's/8-8/9/g;s/^\(..\)8/\1/;s/8\.$/./;'
OLDNEW
« no previous file with comments | « third_party/hyphen/substrings.pl ('k') | third_party/hyphen/tbhyphext.tex » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698