motionkit2d 1.0.0__py3-none-any.whl

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.
Files changed (45) hide show
  1. motionkit2d/__init__.py +49 -0
  2. motionkit2d/__main__.py +115 -0
  3. motionkit2d/acceleration.py +121 -0
  4. motionkit2d/assets.py +319 -0
  5. motionkit2d/audio.py +87 -0
  6. motionkit2d/audio_analysis.py +55 -0
  7. motionkit2d/camera.py +56 -0
  8. motionkit2d/catalog.py +79 -0
  9. motionkit2d/characters/__init__.py +4 -0
  10. motionkit2d/characters/actions.py +125 -0
  11. motionkit2d/characters/builder.py +15 -0
  12. motionkit2d/characters/expressions.py +81 -0
  13. motionkit2d/compiler.py +162 -0
  14. motionkit2d/composition.py +50 -0
  15. motionkit2d/constraints.py +91 -0
  16. motionkit2d/cues.py +15 -0
  17. motionkit2d/draw.py +416 -0
  18. motionkit2d/dynamics.py +109 -0
  19. motionkit2d/effects.py +131 -0
  20. motionkit2d/environments.py +86 -0
  21. motionkit2d/export.py +235 -0
  22. motionkit2d/fonts/LICENSE.txt +130 -0
  23. motionkit2d/fonts/LiberationSans-Regular.ttf +0 -0
  24. motionkit2d/fonts/LiberationSerif-Bold.ttf +0 -0
  25. motionkit2d/fonts/LiberationSerif-Regular.ttf +0 -0
  26. motionkit2d/gpu.py +512 -0
  27. motionkit2d/layout.py +89 -0
  28. motionkit2d/manifest.py +96 -0
  29. motionkit2d/mixer.py +92 -0
  30. motionkit2d/preset_library.py +41 -0
  31. motionkit2d/presets.py +33 -0
  32. motionkit2d/props.py +126 -0
  33. motionkit2d/qc.py +78 -0
  34. motionkit2d/quality.py +122 -0
  35. motionkit2d/rig.py +325 -0
  36. motionkit2d/scene_graph.py +154 -0
  37. motionkit2d/timeline.py +174 -0
  38. motionkit2d/transitions.py +51 -0
  39. motionkit2d/typography.py +118 -0
  40. motionkit2d/visual_effects.py +104 -0
  41. motionkit2d-1.0.0.dist-info/METADATA +140 -0
  42. motionkit2d-1.0.0.dist-info/RECORD +45 -0
  43. motionkit2d-1.0.0.dist-info/WHEEL +5 -0
  44. motionkit2d-1.0.0.dist-info/entry_points.txt +2 -0
  45. motionkit2d-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,86 @@
1
+ """Spatial environment presets with inspectable props, anchors and walk areas."""
2
+ from . import draw
3
+ from .catalog import catalog
4
+ from .rig import Prop, Transform
5
+ from .layout import Rect
6
+ from .scene_graph import Node, SceneGraph
7
+
8
+
9
+ class Environment:
10
+ def __init__(self,kind='bedroom',*,width=960,height=540,theme='neutral',time_of_day='day',weather='clear'):
11
+ if kind not in {'bedroom','cafe','study','park','living_room','street'}:
12
+ raise ValueError('Unknown environment')
13
+ if theme not in {'neutral','neon','warm'} or time_of_day not in {'day','night'} or weather not in {'clear','rain'}:
14
+ raise ValueError('Unknown environment style, time or weather')
15
+ if width<=0 or height<=0: raise ValueError('Positive environment dimensions required')
16
+ self.kind,self.width,self.height=kind,width,height
17
+ self.theme,self.time_of_day,self.weather=theme,time_of_day,weather
18
+ self.floor=height*.84
19
+ self.anchors={'center':(width*.5,self.floor),'entry':(width*.12,self.floor)}
20
+ self.walk_regions=(Rect(width*.05,self.floor-15,width*.9,30),)
21
+ self.lighting={'ambient':.4 if time_of_day=='night' else 1,'accent':'#7AE3DD' if theme=='neon' else '#EDC995'}
22
+ self.objects={}
23
+ scale=min(width/960,height/540)
24
+ def add(key,name,x,y):
25
+ prop=Prop(catalog.get(name),transform=Transform(x,y,scale))
26
+ self.objects[key]=prop
27
+ return prop
28
+ if kind=='bedroom':
29
+ add('bed','home.bed',width*.52,self.floor-116*scale)
30
+ self.anchors['bedside']=(width*.46,self.floor)
31
+ elif kind in {'cafe','study'}:
32
+ add('table','home.table',width*.53,self.floor-115*scale)
33
+ add('chair','school.chair',width*.3,self.floor-146*scale)
34
+ elif kind=='living_room': add('sofa','home.sofa',width*.52,self.floor-112*scale)
35
+ if kind not in {'park','street'}:
36
+ add('window','home.window',width*.13,height*.15)
37
+
38
+ def anchor(self,name): return self.anchors[name]
39
+ def object(self,name): return self.objects[name]
40
+
41
+ def background(self,im,frame):
42
+ night=self.time_of_day=='night'
43
+ draw.gradient(im,'#111A2F' if night else '#C2DAE5','#283B59' if night else '#EFE8D8')
44
+ d=draw.draw(im)
45
+ draw.rect(d,0,self.floor,self.width,self.height-self.floor,0,'#37404E' if night else '#B9A994')
46
+ if self.kind=='park':
47
+ for x in (.15,.8):
48
+ draw.line(d,[(self.width*x,self.floor),(self.width*x,self.height*.35)],'#796854',14)
49
+ draw.oval(d,self.width*x,self.height*.32,self.width*.13,self.height*.22,'#457C67')
50
+ if self.kind=='street':
51
+ for i in range(5):
52
+ draw.rect(d,i*self.width/5,self.height*.2,self.width*.18,self.floor-self.height*.2,0,'#51617A')
53
+ if self.weather=='rain':
54
+ for i in range(35):
55
+ x=(i*137+frame.t*80)%self.width; y=(i*83+frame.t*260)%self.floor
56
+ draw.line(d,[(x,y),(x-5,y+16)],'#9EB6CE',1)
57
+
58
+ def foreground(self,im,frame):
59
+ if self.theme=='neon':
60
+ draw.line(draw.draw(im),[(0,self.floor),(self.width,self.floor)],self.lighting['accent'],2)
61
+
62
+ def nodes(self,*,prefix='env'):
63
+ return [Node(prefix+'.background',self.background,z_index=-100),
64
+ *[Node(prefix+'.'+name,prop,z_index=-10 if name=='window' else 10) for name,prop in self.objects.items()],
65
+ Node(prefix+'.foreground',self.foreground,z_index=100)]
66
+
67
+ def __call__(self,im,frame): SceneGraph(self.nodes())(im,frame)
68
+
69
+
70
+ class Bedroom(Environment):
71
+ def __init__(self,**kwargs): super().__init__('bedroom',**kwargs)
72
+
73
+ class Cafe(Environment):
74
+ def __init__(self,**kwargs): super().__init__('cafe',**kwargs)
75
+
76
+ class Study(Environment):
77
+ def __init__(self,**kwargs): super().__init__('study',**kwargs)
78
+
79
+ class Park(Environment):
80
+ def __init__(self,**kwargs): super().__init__('park',**kwargs)
81
+
82
+ class LivingRoom(Environment):
83
+ def __init__(self,**kwargs): super().__init__('living_room',**kwargs)
84
+
85
+ class Street(Environment):
86
+ def __init__(self,**kwargs): super().__init__('street',**kwargs)
motionkit2d/export.py ADDED
@@ -0,0 +1,235 @@
1
+ """PNG, storyboard, H.264 export and full-stream validation."""
2
+ import json
3
+ from pathlib import Path
4
+ import shutil
5
+ import subprocess
6
+ import tempfile
7
+ from time import perf_counter
8
+ from statistics import median
9
+ from uuid import uuid4
10
+
11
+ from PIL import Image, ImageDraw
12
+ from .draw import font
13
+ from .audio import AudioCue
14
+ from .acceleration import encoder_options, select_encoder, worker_count, parallel_frames
15
+
16
+
17
+ def _binary(name):
18
+ found=shutil.which(name)
19
+ if not found:
20
+ raise FileNotFoundError(f'{name} is required. Install FFmpeg and add its bin directory to PATH.')
21
+ return found
22
+
23
+
24
+ def _resize_probe(video,gpu):
25
+ """Compare complete upload/filter/readback against CPU resize, not shader time alone."""
26
+ image=Image.new('RGB',(video.width*2,video.height*2),video.background)
27
+ gpu.from_image(image) # Warm shader/driver allocation before comparing steady state.
28
+ samples={'cpu':[],'gpu':[]}
29
+ for _ in range(3):
30
+ start=perf_counter()
31
+ image.resize((video.width,video.height),Image.Resampling.LANCZOS).tobytes()
32
+ samples['cpu'].append(perf_counter()-start)
33
+ start=perf_counter()
34
+ gpu.from_image(image)
35
+ samples['gpu'].append(perf_counter()-start)
36
+ return {name:median(values) for name,values in samples.items()}
37
+
38
+
39
+ def render(video, path, *, crf=18, audio=None, progress=None, backend='auto',
40
+ encoder='auto', speed='balanced', workers=1, project_path=None, report=None):
41
+ """Stream frames with optional GPU drawing/downsample and hardware encoding.
42
+
43
+ Explicit gpu/nvenc requests fail if unavailable. Auto probes and falls back.
44
+ project_path is required for parallel legacy scenes on Windows and Linux.
45
+ report, when supplied, is a dict populated with actual devices and timings.
46
+ """
47
+ started=perf_counter()
48
+ path=Path(path)
49
+ if path.suffix.lower()!='.mp4':
50
+ raise ValueError('H.264 output must have an .mp4 extension')
51
+ if not 0<=crf<=51:
52
+ raise ValueError('CRF must be between 0 and 51')
53
+ if backend not in ('auto','cpu','gpu'):
54
+ raise ValueError('backend must be auto, cpu or gpu')
55
+ if speed not in ('fast','balanced','quality'):
56
+ raise ValueError('speed must be fast, balanced or quality')
57
+ count=worker_count(workers,video,project_path,backend=backend)
58
+ cues=list(video.audio)
59
+ if audio is not None:
60
+ cues.append(AudioCue(audio))
61
+ if any(Path(cue.path).resolve()==path.resolve() for cue in cues):
62
+ raise ValueError('Audio source and video output must be different files')
63
+ from .audio import audio_filters
64
+ # Resolve source-dependent filters before allocating an optional GL context.
65
+ filters=audio_filters(cues,video.seconds) if cues else []
66
+ ffmpeg=_binary('ffmpeg')
67
+ codec,attempts=select_encoder(ffmpeg,encoder,video.width,video.height,video.fps,speed)
68
+ gpu=None
69
+ gpu_reason=None
70
+ resize_probe=None
71
+ native=any(scene.gpu_paint is not None for scene in video.scenes)
72
+ if backend=='auto' and count>1:
73
+ gpu_reason='Parallel legacy workers resize on CPU to avoid high-resolution IPC and GPU uploads'
74
+ elif backend!='cpu':
75
+ from .gpu import GPUFrames, GPUUnavailable
76
+ try: gpu=GPUFrames(video)
77
+ except GPUUnavailable as error:
78
+ if backend=='gpu': raise
79
+ gpu_reason=str(error)
80
+ if gpu is not None and backend=='auto' and not native:
81
+ try: resize_probe=_resize_probe(video,gpu)
82
+ except Exception:
83
+ gpu.close()
84
+ raise
85
+ if resize_probe['gpu']>=resize_probe['cpu']*.95:
86
+ gpu.close()
87
+ gpu=None
88
+ gpu_reason='CPU resize measured faster, or GPU benefit was under 5%; hardware encoding remains independent'
89
+ details={'backend':'gpu' if gpu else 'cpu','encoder':codec,'speed':speed,
90
+ 'workers':count,'gpu':gpu.device.info if gpu else None,
91
+ 'gpu_fallback':gpu_reason,'resize_probe_seconds':resize_probe,'encoder_probes':attempts,
92
+ 'native_gpu_scenes':sum(scene.gpu_paint is not None for scene in video.scenes) if gpu else 0}
93
+ if report is not None: report.update(details)
94
+ cmd=[ffmpeg,'-hide_banner','-loglevel','error','-y','-f','rawvideo',
95
+ '-pix_fmt','rgb24','-s',f'{video.width}x{video.height}','-r',str(video.fps),'-i','pipe:0']
96
+ if not cues:
97
+ cmd+=['-map','0:v:0','-an']
98
+ else:
99
+ for cue in cues:
100
+ cmd+=['-i',str(cue.path)]
101
+ cmd+=['-filter_complex',';'.join(filters),'-map','0:v:0','-map','[mix]',
102
+ '-c:a','aac','-b:a','192k','-t',f'{video.seconds:.9f}']
103
+ cmd+=[*encoder_options(codec,crf,speed),'-pix_fmt','yuv420p',
104
+ '-vf','scale=out_color_matrix=bt709','-colorspace','bt709',
105
+ '-color_primaries','bt709','-color_trc','bt709','-movflags','+faststart']
106
+ frame_source=None
107
+ try:
108
+ path.parent.mkdir(parents=True,exist_ok=True)
109
+ if count>1:
110
+ frame_source=parallel_frames(video,project_path,count,raw=bool(gpu))
111
+ else:
112
+ frame_source=(gpu.frame(i) if gpu else video.frame(i).tobytes() for i in range(video.frame_count))
113
+ return _stream(video,path,cmd,frame_source,gpu if count>1 else None,progress,report,started)
114
+ finally:
115
+ if frame_source is not None: frame_source.close()
116
+ if gpu is not None: gpu.close()
117
+
118
+
119
+ def _stream(video,path,cmd,frames,gpu,progress,report,started):
120
+ # A Windows TemporaryDirectory has a private DACL. Moving its child to the
121
+ # output folder preserves that DACL, making the result unreadable to the
122
+ # desktop user when encoding under a different (e.g. sandbox) account.
123
+ # Create the staging file directly in the destination so it inherits the
124
+ # same permissions as ordinary files there; retain atomic publication.
125
+ draft=path.parent/f'.motionkit-{uuid4().hex}.mp4'
126
+ with draft.open('xb'):
127
+ pass
128
+ try:
129
+ with tempfile.TemporaryFile() as errors, subprocess.Popen(
130
+ [*cmd,str(draft)], stdin=subprocess.PIPE,stderr=errors) as encoder:
131
+ try:
132
+ for index,data in enumerate(frames):
133
+ if gpu:
134
+ image=Image.frombytes('RGB',(video.width*2,video.height*2),data)
135
+ data=gpu.from_image(image)
136
+ encoder.stdin.write(data)
137
+ if progress:
138
+ progress(index+1,video.frame_count)
139
+ encoder.stdin.close()
140
+ failed=encoder.wait()
141
+ except BrokenPipeError:
142
+ failed=encoder.wait()
143
+ except BaseException:
144
+ encoder.kill()
145
+ encoder.wait()
146
+ raise
147
+ if failed:
148
+ errors.seek(0)
149
+ reason=errors.read().decode(errors='replace').strip()
150
+ raise RuntimeError(f'FFmpeg failed to encode {path.name}\n{reason}')
151
+ draft.replace(path)
152
+ if report is not None:
153
+ seconds=perf_counter()-started
154
+ report.update(seconds=seconds,frames=video.frame_count,fps=video.frame_count/seconds)
155
+ finally:
156
+ draft.unlink(missing_ok=True)
157
+ return path
158
+
159
+
160
+ def save_frame(video,index,path):
161
+ path=Path(path)
162
+ path.parent.mkdir(parents=True,exist_ok=True)
163
+ video.frame(index).save(path,format='PNG')
164
+ return path
165
+
166
+
167
+ def frame_strip(video,indices,path,*,columns=5,tile_width=240):
168
+ """Captioned arbitrary frames, including consecutive release frames."""
169
+ indices=tuple(indices)
170
+ if not indices or columns<1 or tile_width<40:
171
+ raise ValueError('Frame strip needs indices, columns >= 1 and tile_width >= 40')
172
+ columns=min(columns,len(indices))
173
+ h=round(tile_width*video.height/video.width)
174
+ board=Image.new('RGB',(columns*tile_width,((len(indices)+columns-1)//columns)*(h+28)),'#15232C')
175
+ painter=ImageDraw.Draw(board)
176
+ for i,index in enumerate(indices):
177
+ x,y=(i%columns)*tile_width,(i//columns)*(h+28)
178
+ board.paste(video.frame(index).resize((tile_width,h)),(x,y))
179
+ painter.text((x+6,y+h+4),f'f{index} | {index/video.fps:.3f}s',font=font(7,'sans'),fill='white')
180
+ path=Path(path)
181
+ path.parent.mkdir(parents=True,exist_ok=True)
182
+ board.save(path)
183
+ return path
184
+
185
+
186
+ def storyboard(video,path,*,columns=3,tile_width=360):
187
+ """Save one captioned thumbnail per scene."""
188
+ if columns<1 or tile_width<120:
189
+ raise ValueError('Storyboard requires positive columns and tile_width >= 120')
190
+ items=list(video.stills())
191
+ columns=min(columns,len(items))
192
+ rows=(len(items)+columns-1)//columns
193
+ margin,gap,caption=20,14,30
194
+ tile_height=max(1,round(tile_width*video.height/video.width))
195
+ width=2*margin+columns*tile_width+(columns-1)*gap
196
+ height=2*margin+rows*(tile_height+caption)+(rows-1)*gap
197
+ board=Image.new('RGB',(width,height),'#101713')
198
+ d=ImageDraw.Draw(board)
199
+ face=font(7,'sans')
200
+ for i,(index,name) in enumerate(items):
201
+ x=margin+(i%columns)*(tile_width+gap)
202
+ y=margin+(i//columns)*(tile_height+caption+gap)
203
+ tile=video.frame(index).resize((tile_width,tile_height),Image.Resampling.LANCZOS)
204
+ board.paste(tile,(x,y))
205
+ label=f'{index/video.fps:05.2f}s · {name}'
206
+ if face.getlength(label)>tile_width:
207
+ while face.getlength(label+'…')>tile_width:
208
+ label=label[:-1]
209
+ label=label.rstrip()+'…'
210
+ d.text((x,y+tile_height+6),label,font=face,fill='#ECEAE3')
211
+ path=Path(path)
212
+ path.parent.mkdir(parents=True,exist_ok=True)
213
+ board.save(path,format='PNG')
214
+ return path
215
+
216
+
217
+ def verify(video,path,*,audio=False):
218
+ """Check frame count, format and full stream decode against a Video."""
219
+ info=json.loads(subprocess.check_output([_binary('ffprobe'),'-v','error',
220
+ '-count_frames','-show_streams','-show_format','-of','json',str(path)]))
221
+ tracks=info['streams']
222
+ pictures=[track for track in tracks if track['codec_type']=='video']
223
+ sounds=[track for track in tracks if track['codec_type']=='audio']
224
+ if len(pictures)!=1 or len(sounds)!=int(audio) or len(tracks)!=1+int(audio):
225
+ raise ValueError('Unexpected video/audio stream count')
226
+ track=pictures[0]
227
+ expected={'width':video.width,'height':video.height,'avg_frame_rate':f'{video.fps}/1',
228
+ 'nb_read_frames':str(video.frame_count),'codec_name':'h264','pix_fmt':'yuv420p'}
229
+ observed={key:track.get(key) for key in expected}
230
+ duration=float(track['duration'])
231
+ if observed!=expected or abs(duration-video.seconds)>.00001:
232
+ raise ValueError(f'MP4 does not match the project: {observed}, {duration}s')
233
+ subprocess.run([_binary('ffmpeg'),'-v','error','-xerror','-i',str(path),
234
+ '-map','0','-f','null','-'],check=True)
235
+ return {**observed,'seconds':duration,'audio_streams':len(sounds),'decode':'ok'}
@@ -0,0 +1,130 @@
1
+ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2
+ Upstream-Name: Liberation Fonts
3
+ Source: https://github.com/liberationfonts
4
+
5
+ Files: *
6
+ Copyright:
7
+ Digitized data copyright (c) 2010 Google Corporation with Reserved Font Arimo, Tinos and Cousine.
8
+ Copyright (c) 2012 Red Hat, Inc. with Reserved Font Name Liberation.
9
+ License: SIL-OFL-1.1
10
+ This Font Software is licensed under the SIL Open Font License,
11
+ Version 1.1.
12
+ .
13
+ This license is copied below, and is also available with a FAQ at:
14
+ http://scripts.sil.org/OFL
15
+ .
16
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
17
+ .
18
+ PREAMBLE The goals of the Open Font License (OFL) are to stimulate
19
+ worldwide development of collaborative font projects, to support the font
20
+ creation efforts of academic and linguistic communities, and to provide
21
+ a free and open framework in which fonts may be shared and improved in
22
+ partnership with others.
23
+ .
24
+ The OFL allows the licensed fonts to be used, studied, modified and
25
+ redistributed freely as long as they are not sold by themselves.
26
+ The fonts, including any derivative works, can be bundled, embedded,
27
+ redistributed and/or sold with any software provided that any reserved
28
+ names are not used by derivative works. The fonts and derivatives,
29
+ however, cannot be released under any other type of license. The
30
+ requirement for fonts to remain under this license does not apply to
31
+ any document created using the fonts or their derivatives.
32
+ .
33
+ .
34
+ .
35
+ DEFINITIONS
36
+ "Font Software" refers to the set of files released by the Copyright
37
+ Holder(s) under this license and clearly marked as such.
38
+ This may include source files, build scripts and documentation.
39
+ .
40
+ "Reserved Font Name" refers to any names specified as such after the
41
+ copyright statement(s).
42
+ .
43
+ "Original Version" refers to the collection of Font Software components
44
+ as distributed by the Copyright Holder(s).
45
+ .
46
+ "Modified Version" refers to any derivative made by adding to, deleting,
47
+ or substituting ? in part or in whole ?
48
+ any of the components of the Original Version, by changing formats or
49
+ by porting the Font Software to a new environment.
50
+ .
51
+ "Author" refers to any designer, engineer, programmer, technical writer
52
+ or other person who contributed to the Font Software.
53
+ .
54
+ .
55
+ PERMISSION & CONDITIONS
56
+ .
57
+ Permission is hereby granted, free of charge, to any person obtaining a
58
+ copy of the Font Software, to use, study, copy, merge, embed, modify,
59
+ redistribute, and sell modified and unmodified copies of the Font
60
+ Software, subject to the following conditions:
61
+ .
62
+ 1) Neither the Font Software nor any of its individual components,in
63
+ Original or Modified Versions, may be sold by itself.
64
+ .
65
+ 2) Original or Modified Versions of the Font Software may be bundled,
66
+ redistributed and/or sold with any software, provided that each copy
67
+ contains the above copyright notice and this license. These can be
68
+ included either as stand-alone text files, human-readable headers or
69
+ in the appropriate machine-readable metadata fields within text or
70
+ binary files as long as those fields can be easily viewed by the user.
71
+ .
72
+ 3) No Modified Version of the Font Software may use the Reserved Font
73
+ Name(s) unless explicit written permission is granted by the
74
+ corresponding Copyright Holder. This restriction only applies to the
75
+ primary font name as presented to the users.
76
+ .
77
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
78
+ Software shall not be used to promote, endorse or advertise any
79
+ Modified Version, except to acknowledge the contribution(s) of the
80
+ Copyright Holder(s) and the Author(s) or with their explicit written
81
+ permission.
82
+ .
83
+ 5) The Font Software, modified or unmodified, in part or in whole, must
84
+ be distributed entirely under this license, and must not be distributed
85
+ under any other license. The requirement for fonts to remain under
86
+ this license does not apply to any document created using the Font
87
+ Software.
88
+ .
89
+ .
90
+ .
91
+ TERMINATION
92
+ This license becomes null and void if any of the above conditions are not met.
93
+ .
94
+ .
95
+ .
96
+ DISCLAIMER
97
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
98
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
99
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
100
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
101
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
102
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
103
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
104
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
105
+ DEALINGS IN THE FONT SOFTWARE.
106
+ .
107
+
108
+ Files: debian/*
109
+ Copyright:
110
+ 2008 Alan Baghumian <alan@technotux.org>
111
+ 2008-2018 Holger Levsen <holger@debian.org>
112
+ 2009-2012 Christian Perrier <bubulle@debian.org>
113
+ 2011-2023 Fabian Greffrath <fabian@debian.org>
114
+ 2018 Rene Engelhard <rene@debian.org>
115
+ License: GPL-2+
116
+ This package is free software; you can redistribute it and/or modify
117
+ it under the terms of the GNU General Public License as published by
118
+ the Free Software Foundation; either version 2 of the License, or
119
+ (at your option) any later version.
120
+ .
121
+ This package is distributed in the hope that it will be useful,
122
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
123
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
124
+ GNU General Public License for more details.
125
+ .
126
+ You should have received a copy of the GNU General Public License
127
+ along with this program. If not, see <https://www.gnu.org/licenses/>
128
+ .
129
+ On Debian systems, the complete text of the GNU General
130
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".