{"action":"created","issue":{"url":"https://api.github.com/repos/wspr/fontspec/issues/209","labels_url":"https://api.github.com/repos/wspr/fontspec/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/wspr/fontspec/issues/209/comments","events_url":"https://api.github.com/repos/wspr/fontspec/issues/209/events","html_url":"https://github.com/wspr/fontspec/issues/209","id":100305622,"number":209,"title":"SlantedFont affects Smallcaps","user":{"login":"u-fischer","id":4047173,"avatar_url":"https://avatars.githubusercontent.com/u/4047173?v=3","gravatar_id":"","url":"https://api.github.com/users/u-fischer","html_url":"https://github.com/u-fischer","followers_url":"https://api.github.com/users/u-fischer/followers","following_url":"https://api.github.com/users/u-fischer/following{/other_user}","gists_url":"https://api.github.com/users/u-fischer/gists{/gist_id}","starred_url":"https://api.github.com/users/u-fischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u-fischer/subscriptions","organizations_url":"https://api.github.com/users/u-fischer/orgs","repos_url":"https://api.github.com/users/u-fischer/repos","events_url":"https://api.github.com/users/u-fischer/events{/privacy}","received_events_url":"https://api.github.com/users/u-fischer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-11T13:00:49Z","updated_at":"2016-01-23T04:54:58Z","closed_at":null,"body":"When I set the slanted font explicitly to a font which has the smcp feature then the upright small caps is affected:\r\n\r\n~~~~~\r\n\\documentclass{article}\r\n\r\n\\RequirePackage{fontspec}\r\n\\setmainfont{Erewhon}[\r\n    Extension=.otf,\r\n    SlantedFont=*-RegularSlanted, %bad, has smcp feature\r\n    %SlantedFont=*-Bold, %Bad, has smcp feature\r\n    %SlantedFont=*-BoldItalic, %ok, has no smcp feature\r\n    UprightFont=*-Regular,\r\n        ]\r\n\r\n\\begin{document}\r\nExercise \\textsc{Exercise}\r\n\\end{document}\r\n~~~~~~\r\n\r\n![slanted](https://cloud.githubusercontent.com/assets/4047173/9197937/b390582c-4038-11e5-816a-2644b2ffda07.PNG)\r\n\r\nThe log-file then says:\r\n\r\n~~~~~\r\n. \r\n. * 'small caps' with NFSS spec.:\r\n. \r\n. <->\"[Erewhon-RegularSlanted.otf]:mode=node;script=latn;language=DFLT;+tlig;+trep;+smcp;\"\r\n~~~~~\r\n\r\nTested with xelatex and lualatex. \r\n\r\n~~~~~\r\n(d:/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.sty\r\nPackage: fontspec 2015/07/22 v2.4d Font selection for XeLaTeX and LuaLaTeX\r\n~~~~~\r\n\r\n\r\nIt doesn't help to add `UprightFeatures= {SmallCapsFont={*-Regular}, SmallCapsFeatures={Letters=SmallCaps} },`"},"comment":{"url":"https://api.github.com/repos/wspr/fontspec/issues/comments/174141710","html_url":"https://github.com/wspr/fontspec/issues/209#issuecomment-174141710","issue_url":"https://api.github.com/repos/wspr/fontspec/issues/209","id":174141710,"user":{"login":"wspr","id":8169,"avatar_url":"https://avatars.githubusercontent.com/u/8169?v=3","gravatar_id":"","url":"https://api.github.com/users/wspr","html_url":"https://github.com/wspr","followers_url":"https://api.github.com/users/wspr/followers","following_url":"https://api.github.com/users/wspr/following{/other_user}","gists_url":"https://api.github.com/users/wspr/gists{/gist_id}","starred_url":"https://api.github.com/users/wspr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wspr/subscriptions","organizations_url":"https://api.github.com/users/wspr/orgs","repos_url":"https://api.github.com/users/wspr/repos","events_url":"https://api.github.com/users/wspr/events{/privacy}","received_events_url":"https://api.github.com/users/wspr/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T04:54:58Z","updated_at":"2016-01-23T04:54:58Z","body":"I'm sorry not to get around to this earlier, Ulrike! This turned out to be relatively obvious — while we \"trick\" the NFSS to get small caps italics, I currently haven't done the same thing for slanted small caps. I guess I should. "}}