glaemscribe 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b9c434f726351b70bba0a7057e9e7a06b032455
4
- data.tar.gz: 95479cf635ac44ea16d7ce54b398df1e7a0e526b
3
+ metadata.gz: 4463868f3bcb6ec4bdd0ee0cb612c6b7ecbe6ced
4
+ data.tar.gz: 35796d7ab5d73e16a14cc63d43ac00703a7aede5
5
5
  SHA512:
6
- metadata.gz: d1f87befe1bd8c5263b3e4cea969f150e664a5278f03e07d3b6f96717581f79d071e755b72561f4a8d85779653635118289ce6f2937da78f51724856690ce910
7
- data.tar.gz: e7ee0e577aaf07565a455f64ed3b3e7a16c390dd35d284e0e72523f3c5e9c85bb0d029a299561bca281a011eb818ff27b918e87003628497814e97248c7bc38b
6
+ metadata.gz: 7455cc37078a7f8b2872c9661e4d482bebe1c72401ac32c318b270c5056729881762cbe8bbc20723fd4522f0f969ee6e91486bde5be8b781f6c76234f3531b60
7
+ data.tar.gz: 06b725f308f8fddfd3901c431e6371b569fa4cc02ddb8f28406b0cd8c7b1f1d996d00b45bc6cd6cc603ecff7ea9456331ddfe952d4f2a62989dfb9a55b96303a
data/bin/glaemscribe CHANGED
@@ -86,8 +86,11 @@ end
86
86
  # PROGRAMM #
87
87
  ##############
88
88
 
89
+ loaded_gem = Gem.loaded_specs["glaemscribe"]
90
+ version = (loaded_gem && loaded_gem.version.to_s) || "NO_GEM"
91
+
89
92
  program :name, "glaemscribe#{env_version}"
90
- program :version, '0.0.1'
93
+ program :version, version
91
94
  program :description, 'Glǽmscribe (also written Glaemscribe) is a software dedicated to the
92
95
  transcription of texts between writing systems, and more specifically
93
96
  dedicated to the transcription of J.R.R. Tolkien\'s invented languages
@@ -24,10 +24,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
24
24
 
25
25
  \** Sindarin Classical mode for glaemscribe (MAY BE INCOMPLETE) **\
26
26
 
27
+ \** Changelog **\
28
+ \**
29
+
30
+ 0.0.2 : Fixed some tehtar versions which did not look quite nice for ch, dh, v, mb
31
+ Reworked the problem of labialized consonnants (+w), adding an option for treating the u-curl + tehta combination.
32
+
33
+ **\
34
+
35
+
27
36
  \language "Sindarin"
28
37
  \writing "Tengwar"
29
38
  \mode "Classical"
30
- \version "0.0.1"
39
+ \version "0.0.2"
31
40
  \authors "Talagan (Benjamin Babut)"
32
41
 
33
42
  \charset tengwar_ds true
@@ -38,6 +47,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
38
47
  \value BASE_10 10
39
48
  \value BASE_12 12
40
49
  \end
50
+ \option labialized_consonants_accept_tehtar true
41
51
  \end
42
52
 
43
53
  \beg preprocessor
@@ -145,12 +155,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
145
155
  {V_D_KER_WN}n{K} --> CALMA DASH_SUP_S {V_D_IMG__S_WN}
146
156
 
147
157
  \** 2ND LINE **\
148
- {LINE_2ND_KER} === d * b * g * ng \** * g **\
158
+ {LINE_2ND_KER} === d * b * g * ng \** * g **\
149
159
  {LINE_2ND_IMG} === ANDO * UMBAR * UNGWE * UNGWE DASH_SUP_L \** * s **\
150
160
 
151
161
  {V_D_KER_WN}[{LINE_2ND_KER}] --> 2,1 --> [{LINE_2ND_IMG}]{V_D_IMG_XL_WN}
152
162
 
153
- {V_D_KER_WN}mb --> UMBAR DASH_SUP_L {V_D_IMG__S_WN}
163
+ {V_D_KER_WN}mb --> UMBAR DASH_SUP_L {V_D_IMG_XL_WN}
154
164
  {V_D_KER_WN}nd --> ANDO DASH_SUP_L {V_D_IMG_XL_WN}
155
165
 
156
166
  \** 3RD LINE **\
@@ -160,7 +170,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
160
170
  {LINE_3RD_IMG_2} === HWESTA
161
171
 
162
172
  {V_D_KER_WN}[{LINE_3RD_KER_1}] --> 2,1 --> [{LINE_3RD_IMG_1}]{V_D_IMG__S_WN}
163
- {V_D_KER_WN}[{LINE_3RD_KER_2}] --> 2,1 --> [{LINE_3RD_IMG_2}]{V_D_IMG__L_WN} \** Tengscribe uses _S **\
173
+ {V_D_KER_WN}[{LINE_3RD_KER_2}] --> 2,1 --> [{LINE_3RD_IMG_2}]{V_D_IMG_XL_WN} \** Tengscribe uses _S **\
164
174
 
165
175
  {V_D_KER_WN}nth --> SULE DASH_SUP_S {V_D_IMG__S_WN}
166
176
  {V_D_KER_WN}mph --> FORMEN DASH_SUP_S {V_D_IMG__S_WN}
@@ -168,9 +178,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
168
178
  {V_D_KER_WN}nch --> HWESTA DASH_SUP_S {V_D_IMG__S_WN}
169
179
 
170
180
  \** 4TH LINE **\
171
- {LINE_4TH_KER} === (ð,ðh,dh) * (v,bh,f_) \** Some noldorin variants here ... **\
172
- {LINE_4TH_IMG} === ANTO * AMPA
173
- {V_D_KER_WN}[{LINE_4TH_KER}] --> 2,1 --> [{LINE_4TH_IMG}]{V_D_IMG__L_WN}
181
+ {LINE_4TH_KER} === (ð,ðh,dh) * (v,bh,f_) \** Some noldorin variants here ... **\
182
+ {LINE_4TH_IMG} === ANTO * AMPA
183
+
184
+ {V_D_KER_WN}[{LINE_4TH_KER}] --> 2,1 --> [{LINE_4TH_IMG}]{V_D_IMG_XL_WN}
174
185
 
175
186
  \** 5TH LINE **\
176
187
  {LINE_5TH_KER} === n * m * _ng * _mh
@@ -184,10 +195,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
184
195
  \** 6TH LINE **\
185
196
 
186
197
  \** 7TH LINE **\
187
- {LINE_L_KER} === r_ * r * _rh * l * _lh * ll * w
188
- {LINE_L_IMG} === ORE * ROMEN * ARDA * LAMBE * ALDA * LAMBE LAMBE_MARK_TILD * VALA
189
-
190
- {V_D_KER_WN}[{LINE_L_KER}] --> 2,1 --> [{LINE_L_IMG}]{V_D_IMG__S_WN}
198
+ {LINE_L_KER_1} === r_ * r
199
+ {LINE_L_IMG_1} === ORE * ROMEN
200
+ {LINE_L_KER_2} === l * ll * w
201
+ {LINE_L_IMG_2} === LAMBE * LAMBE LAMBE_MARK_TILD * VALA
202
+
203
+ {V_D_KER_WN}[{LINE_L_KER_1}] --> 2,1 --> [{LINE_L_IMG_1}]{V_D_IMG__S_WN}
204
+ {V_D_KER_WN}[{LINE_L_KER_2}] --> 2,1 --> [{LINE_L_IMG_2}]{V_D_IMG__S_WN} \** Best compromise between sindarin/eldamar, but not really satisfactory **\
205
+
206
+ _rh --> ARDA
207
+ _lh --> ALDA
191
208
 
192
209
  \** S/Z LINE **\
193
210
  {LINE_8TH_KER} === s * y * ss
@@ -205,10 +222,27 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
205
222
  {V_D_KER_WN}h --> HYARMEN {V_D_IMG__S_WN}
206
223
  {V_D_KER_WN}hw --> HWESTA_SINDARINWA {V_D_IMG__S_WN}
207
224
 
208
- {V_D_KER_WN}gw --> UNGWE THSUP_SEV_XL {V_D_IMG__S_WN}
209
- {V_D_KER_WN}dw --> ANDO THSUP_SEV_XS {V_D_IMG_XL_WN}
210
- {V_D_KER_WN}nw --> ORE THSUP_SEV_L {V_D_IMG__S_WN}
211
- {V_D_KER_WN}rw --> ROMEN THSUP_SEV_L {V_D_IMG__S_WN}
225
+ \**
226
+ Ok here come the labialized consonants which are really tricky
227
+ The fonts generally do not handle well the u curl + tehtar, this should be one more argument for
228
+ adopting open type anchors with which we can stack diacritics (see the sarati modes).
229
+ For here, we cheat. Either we don't have any tehta on the tengwa, and it's easy.
230
+ Or, we put the two signs in their small versions, side by side.
231
+ We give an option not to use that trick, if the option is not set, we simply do not use
232
+ the u-curl at all when there's a tehta on the tengwa.
233
+ **\
234
+
235
+ gw --> UNGWE THSUP_SEV_XL
236
+ dw --> ANDO THSUP_SEV_XS
237
+ nw --> ORE THSUP_SEV_L
238
+ rw --> ROMEN THSUP_SEV_L
239
+
240
+ \if "labialized_consonants_accept_tehtar"
241
+ {V_D_KER}gw --> UNGWE THSUP_SEV_XS {V_D_IMG_XL}
242
+ {V_D_KER}dw --> ANDO THSUP_SEV_XS {V_D_IMG_XL}
243
+ {V_D_KER}nw --> ORE THSUP_SEV_XS {V_D_IMG_XL}
244
+ {V_D_KER}rw --> ROMEN THSUP_SEV_XS {V_D_IMG_XL}
245
+ \endif
212
246
  \end
213
247
 
214
248
  \beg rules punctuation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glaemscribe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin 'Talagan' Babut
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-28 00:00:00.000000000 Z
11
+ date: 2016-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander