Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PDFのはなし1
Search
Yusuke Ito
February 18, 2012
Programming
1
130
PDFのはなし1
Yusuke Ito
February 18, 2012
Tweet
Share
More Decks by Yusuke Ito
See All by Yusuke Ito
Macとオーディオ再生 2024/11/02
yusukeito
0
510
おうちHackを取り入れた リノベーション事例
yusukeito
0
650
Server Side Swiftを しばらく運用してみた話
yusukeito
0
560
Swift からword2vecを 使ってみる
yusukeito
0
1k
Swift Outside the Box
yusukeito
1
2.4k
SwiftでgRPCとProtocolBuffersを使う
yusukeito
4
1.3k
Swift on Raspberry Pi でI2Cデバイスを使う
yusukeito
1
650
Isomorphic Swift
yusukeito
2
590
Swiftの値付きEnumをHackする
yusukeito
0
300
Other Decks in Programming
See All in Programming
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
890
iOS18とヘルスケアの睡眠対応
takuyaosawa
0
110
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
880
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
150
Jakarta EE meets AI
ivargrimstad
0
1.3k
103 Early Hints
sugi_0000
1
190
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
1
420
急成長期の品質とスピードを両立するフロントエンド技術基盤
soarteclab
0
900
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
240
HTTP compression in PHP and Symfony apps
dunglas
2
1.6k
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
250
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
A designer walks into a library…
pauljervisheath
204
24k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
RailsConf 2023
tenderlove
29
930
Practical Orchestrator
shlominoach
186
10k
4 Signs Your Business is Dying
shpigford
181
21k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Transcript
PDF ͷͳ͠ Yusuke Ito, @novi_
About Me • NNCT EI(ిࢠใ) 2010ଔۀ • None (Apr 2010
to Sep 2010) →Lindoc, Inc. (Oct 2010 to Dec 2010) →Musavy, Inc. (Jan 2011 to present) • ຊޠ, English, C, Objective-C HTML, CSS, JS, Ruby, Go ←New • UIσβΠϯ, App/WebσβΠϯ ϋʔυΣΞ, ճ࿏σβΠϯ
PDF on Mac • Keynote • Photoshop • TeX •
Scan Snap • ϓϦϯτը໘
ϓϦϯτը໘
PDF on Web • Google Docs • Slideshare • Research
Paper (e.g. CiNii • ిࢠॻ੶ (e.g. ୡਓग़൛
PDF:Portable Document Format What’s is PDF? Ͱͳ͍ ͬΆ͘ͳ͍ɺը૾
References • Wikipedia ຊޠ, English... • ެࣜͷ༷ॻ: “PDF Reference and
Adobe Extensions to the PDF Specification” • ggrks a.k.a. Googleݕࡧ ˞ެࣜͷ༷ॻʹΑͬͯؒҧ͍͕͋ΔͷͰҙ
͖ͳཧղʹඞཁͳ༧උࣝ Postscript زԿֶ ઢܗ Lab Color HSB Color ϑΥϯτ CID
Font TrueType Type1 Font ൛ OpenGL จࣈίʔυ -;8ѹॖ JPEG ύεۂઢ CMYK Color CMap Unicode ҉߸Խ
ͭ·Γ ༷͕ෳࡶ͗͢Δɻɻɻ ꒪⌓꒪
Versions • 1.4(2001): Acrobat 5.0 - OpenTypeϑΥϯτର Ԡ, ಁ໌ޮՌ, λά͖PDF
• 1.5(2003) Acrobat 6.0 - JPEG 2000, 16bitը૾, ϚϧνϝσΟΞίϯςϯπ • 1.6(2004) Acrobat 7.0 - 3DରԠ • 1.7(2006) Acrobat 8.0 - 3D, ऍػೳ, ηΩϡ ϦςΟڧԽ
Summary w ςΩετPSόΠφϦͳσʔλ w υΩϡϝϯτࣙॻΦϒδΣΫτ ࿈ྻ ͱ ͦͷྻͷू·Γ w ΦϒδΣΫτͷ֊ߏ
3PPUˠ w ϥϯμϜΞΫηε༻ͷΠϯσοΫε͕͋Δ
Dimensions & Graphics w QYEQJ w ࠨԼݪ w ΦϖϨʔλϨϯμϦϯάͱઃఆͷ໋ྩ w
άϥϑΟοΫεςʔτελοΫΛ࣋ͭ FH0QFO(-
Text w "4$**Ҏ֎جຊతʹϑΥϯτͷจࣈίʔυPSά Ϧϑ൪߸ґଘ w ຊޠͳΒϑΥϯτͱͦͷάϦϑ൪߸ w จॻߏΛ࣋ͨͳ͍ˠग़ݱॱҙ ଟ͘ݟͨ Ͱ্͔Βग़ݱ͢Δ
w จॻߏจࣈͷҐஔͰఆˠஈΈॎ ಠࣗΞϧΰϦζϜ͕ඞཁ
1%'Λ ςΩετΤσΟλͰ ॻ͍ͯΈΔɻ
Available framework • Mac: PDF Kit(Obj-C), CoreGraphics(C) • iOS: CoreGraphics
• ڞʹύʔεɾϨϯμϦϯάɾॻ͖ग़͠Λα ϙʔτ
in iOS... w 1%',JUφγ w $PSF(SBQIJDT "1*$(1%' ͕͑Δ w ղੳϨϯμϦϯάॻ͖ग़͠
w ςΩετબࣗͰ࣮ w $(1%'ΛͬͯΦϒδΣΫτͷղੳՄೳ
CGPDFͷܽ w ϑϨʔϜϫʔΫ.BDͷͷΛ΄΅ͦͷ·· Ҡ২ ͨͿΜ w ϝϞϦΛ৯͏ w ϥϯμϜΞΫηεͤͣ ֎෦ΦϒδΣΫτҎ֎
w Ұ୴ϝϞϦʹಡΈࠐΜͩΩϟογϡΛղ์͠ ͳ͍
Security / DRM w $(1%'ʹύεϫʔυʹΑΔ෮߸Խ"1*͕ఏ ڙ͞Ε͍ͯΔ͕ w +#ͯ͠ύονΛ࡞Εɺύεϫʔυൈ͚Δ ͷͰҙ w
ͦ͜·ͰΔͻͱ͍Δͷ͔
Quartz and PDF w .BDʹ͓͍ͯɺ2VBSU[ͷ෦ʹ1%'ͷٕज़ ͕ΘΕ͍ͯΔ w /47JFX1%'ग़ྗઌʹґଘ͠ͳ͍ w $PDPB͕ࠨԼݪͳͷ1%'Λ͍ͬͯΔ͔
Βͱ͍͏આ Ars Technica: http://arstechnica.com/reviews/1q00/ macos-x-gui/macos-x-gui-4.html
Conclusion ڥʹΑͬͯจࣈԽ͚͢Δ ϑΥϯτͷຒΊࠐΈʹىҼ iOSCMYKඇରԠ จॻߏΛ࣋ͨͳ͍ ݩͷ6OJDPEFจࣈΛ࣋ ͨͳ͍ PDF:Portable Document Format
Ͱͳ͍ ͬΆ͘ͳ͍ɺը૾